ButtonSegment class final
Flutter's ButtonSegment<String>: one segment of a segmented button.
- Inheritance
-
- Object
- FieldValue
- ButtonSegment
Constructors
Properties
- enabled → bool
-
no setter
- fields → Props
-
The values that differ from the defaults.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → InputIcon?
-
no setter
- isEmpty → bool
-
Whether every field has its default.
no setterinherited
- label → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spec → WidgetSpec
-
The declared fields.
no setteroverride
- tooltip → String?
-
no setter
- value → String
-
no setter
Methods
-
get<
T> (PropDef< T> field) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set<
T> (PropDef< T> field, T value) → ButtonSegment -
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → ButtonSegment?