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