OudsSmallListItemLeadingIcon class

Leading icon slot for OudsSmallListItem.

Always rendered at OudsListItemAssetSize.small.

Example:

OudsSmallListItemLeadingIcon(Positive())
OudsSmallListItemLeadingIcon(Neutral(icon: 'assets/icons/star.svg'), tinted: false)
Inheritance

Constructors

OudsSmallListItemLeadingIcon(OudsIconStatus iconStatus, {bool tinted = true})
Creates a compact leading icon configuration.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
iconStatus → OudsIconStatus
The icon status that drives both the icon asset and its color.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tinted → bool
Whether the icon is tinted with the theme color. Set to false for 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