OudsListItemTrailingIcon class

Trailing icon slot.

Use an icon to reinforce the meaning of the item or help users identify a familiar category, object or status.

Example:

OudsListItemTrailingIcon(Positive())
OudsListItemTrailingIcon(Neutral(icon: 'assets/star.svg'), size: OudsListItemIconSize.large)
Inheritance

Constructors

OudsListItemTrailingIcon(OudsIconStatus iconStatus, {OudsListItemIconSize size = OudsListItemIconSize.medium})
Creates a trailing 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

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