OudsListItemTrailingTag class

Trailing tag slot.

Accepts a Widget Function(bool enable) builder so the list item can forward its own enable state into the tag's enabled parameter.

Example:

OudsListItemTrailingTag(
  (enable) => OudsTag.text(label: 'Label', status: Positive(), enabled: enable),
)
Inheritance

Constructors

OudsListItemTrailingTag(Widget tag(bool enable))
Creates a trailing tag configuration.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag Widget Function(bool enable)
Builder used to render the tag with the current enabled state.
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