OudsListItemLeadingIcon class
Leading icon slot.
Use an icon to reinforce the meaning of the item or help users identify a familiar category, object or status.
Example:
OudsListItemLeadingIcon(Neutral(icon: 'assets/icons/star.svg'))
OudsListItemLeadingIcon(Positive(), size: OudsListItemIconSize.large, tinted: false)
- Inheritance
-
- Object
- OudsListItemLeading
- OudsListItemLeadingIcon
Constructors
- OudsListItemLeadingIcon(OudsIconStatus iconStatus, {OudsListItemIconSize size = OudsListItemIconSize.medium, bool tinted = true})
-
Creates a leading icon configuration.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconStatus → OudsIconStatus
-
The icon status that drives both the asset and its color.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → OudsListItemIconSize
-
Size of the icon. Defaults to
OudsListItemIconSize.medium.final - tinted → bool
-
Whether the icon is tinted with the theme color.
Set to
falsefor multicolor icons.final
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