FastButtonSegment<T> class
A non-widget configuration class for a ButtonSegment.
This wrapper is needed primarily to be able to set ButtonSegment.enabled according to FastFormFieldState.enabled.
- Implemented types
- Annotations
Constructors
- FastButtonSegment({required T value, Widget? icon, Widget? label, String? tooltip, bool enabled = true})
-
const
Properties
- enabled → bool
-
Determines if the segment is available for selection.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
Optional icon displayed in the segment.
final
- label → Widget?
-
Optional label displayed in the segment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String?
-
Optional tooltip for the segment
final
- value → T
-
Value used to identify the segment.
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