MaterialSegmentButtonData<T extends Object> class final

Constructors

MaterialSegmentButtonData({Iterable<T>? choices, Widget segmentBuilder(T choice)?, T? selectedChoice, ValueChanged<T?>? onSelectionChanged, Key? widgetKey, bool emptySelectionAllowed = kDefaultEmptySelectionAllowed, EdgeInsets? expandedInsets, ButtonStyle? style, bool showSelectedIcon = kDefaultShowSelectedIcon, Widget? selectedIcon, Axis direction = kDefaultDirection})
const

Properties

choices Iterable<T>?
finalinherited
direction Axis
final
emptySelectionAllowed bool
final
expandedInsets EdgeInsets?
final
hashCode int
The hash code for this object.
no setterinherited
onSelectionChanged ValueChanged<T?>?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentBuilder Widget Function(T choice)?
finalinherited
selectedChoice → T?
finalinherited
selectedIcon Widget?
final
showSelectedIcon bool
final
style ButtonStyle?
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