OudsButtonIconModifier class

Class responsible for modifying the icon appearance of an Ouds button based on its state and context.

Constructors

OudsButtonIconModifier.new(BuildContext context)
Constructor that takes the build context.

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getIconColor(BuildContext context, OudsButtonControlState states, OudsButtonHierarchy hierarchy) Color
Static method to get the icon color based on button state, hierarchy.
getIconSize(BuildContext context, OudsButtonLayout layout) double
Static method to get the icon size based on button layout.