OudsListItemTrailingBadge class
Trailing badge slot.
Accepts a Widget Function(bool enable) builder so the list item can
forward its own enable state into the badge's enabled parameter.
Example:
OudsListItemTrailingBadge(
(enable) => OudsBadge.standard(status: Info(), semanticsLabel: 'badge', enabled: enable),
)
- Inheritance
-
- Object
- OudsListItemTrailing
- OudsListItemTrailingBadge
Constructors
- OudsListItemTrailingBadge(Widget badge(bool enable))
-
Creates a trailing badge configuration.
const
Properties
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