CupertinoSegmentButtonData<T extends Object> class
final
Constructors
-
CupertinoSegmentButtonData({Iterable<
T> ? choices, Widget segmentBuilder(T choice)?, T? selectedChoice, ValueChanged<T?> ? onSelectionChanged, Key? widgetKey, Set<T> disabledChildren = kDefaultDisabledChildren, Color thumbColor = kDefaultThumbColor, EdgeInsetsGeometry padding = kDefaultPadding, Color backgroundColor = kDefaultBackgroundColor, bool proportionalWidth = kDefaultProportionalWidth, bool isMomentary = kDefaultIsMomentary}) -
const
Properties
- backgroundColor → Color
-
final
-
choices
→ Iterable<
T> ? -
finalinherited
-
disabledChildren
→ Set<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMomentary → bool
-
final
-
onSelectionChanged
→ ValueChanged<
T?> ? -
finalinherited
- padding → EdgeInsetsGeometry
-
final
- proportionalWidth → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentBuilder → Widget Function(T choice)?
-
finalinherited
- selectedChoice → T?
-
finalinherited
- thumbColor → Color
-
final
- widgetKey → Key?
-
finalinherited
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
Constants
- kDefaultBackgroundColor → const CupertinoDynamicColor
-
kDefaultDisabledChildren
→ const Set<
Never> - kDefaultIsMomentary → const bool
- kDefaultPadding → const EdgeInsets
- kDefaultProportionalWidth → const bool
- kDefaultThumbColor → const CupertinoDynamicColor