OudsSmallListItemTrailingIcon class
Trailing icon slot for OudsSmallListItem.
Always rendered at OudsListItemAssetSize.small.
Example:
OudsSmallListItemTrailingIcon(Negative())
OudsSmallListItemTrailingIcon(Neutral(icon: 'assets/icons/star.svg'), tinted: false)
- Inheritance
-
- Object
- OudsSmallListItemTrailing
- OudsSmallListItemTrailingIcon
Constructors
- OudsSmallListItemTrailingIcon(OudsIconStatus icon, {bool tinted = true})
-
Creates a compact trailing icon configuration.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → 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
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