GroupButtonOptions class
UI settings of package
Constructors
-
GroupButtonOptions({GroupingType groupingType = GroupingType.wrap, Axis? direction, double spacing = 10, double runSpacing = 10, TextStyle? selectedTextStyle = defaultSelectedTextStyle, TextStyle? unselectedTextStyle = defaultUnselectedTextStyle, Color? selectedColor, Color? unselectedColor, Color? selectedBorderColor, Color? unselectedBorderColor, BorderRadius? borderRadius, List<
BoxShadow> selectedShadow = defaultShadow, List<BoxShadow> unselectedShadow = defaultShadow, double? buttonHeight, double? buttonWidth, MainGroupAlignment mainGroupAlignment = MainGroupAlignment.center, CrossGroupAlignment crossGroupAlignment = CrossGroupAlignment.center, GroupRunAlignment groupRunAlignment = GroupRunAlignment.center, TextAlign textAlign = TextAlign.left, EdgeInsets textPadding = EdgeInsets.zero, AlignmentGeometry? alignment, double? elevation}) -
const
Properties
- alignment → AlignmentGeometry?
-
Alignment Text position inside the buttons in case buttonWidth or buttonHeight defined.
final
- borderRadius → BorderRadius?
-
BorderRadius of buttons
How much the button will be rounded
final
-
Height of Group button
final
-
Width of group button
final
- crossGroupAlignment → CrossGroupAlignment
-
How the buttons should be placed along the cross axis in a layout
final
- direction → Axis?
-
The direction of arrangement of the buttons in GroupButton
final
- elevation → double?
-
double The buttons' elevation.
final
- groupingType → GroupingType
-
The field is responsible for how the buttons will be grouped
final
- groupRunAlignment → GroupRunAlignment
-
How the button runs themselves should be placed along the cross axis in a layout
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainGroupAlignment → MainGroupAlignment
-
How the buttons should be placed in the main axis in a layout
final
- runSpacing → double
-
When groupingType is GroupingType.wrap
this field sets Wrap runSpacing
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBorderColor → Color?
-
border Color of selected button(s)
final
- selectedColor → Color?
-
background Color of selected button(s)
final
-
selectedShadow
→ List<
BoxShadow> -
list of selected button(s)
BoxShadow
final - selectedTextStyle → TextStyle?
-
TextStyle of text of selected button(s)
final
- spacing → double
-
The spacing between buttons inside GroupButton
final
- textAlign → TextAlign
-
TextAlign The buttons text alignment GroupButton
final
- textPadding → EdgeInsets
-
EdgeInsets The inner padding of buttons GroupButton
final
- unselectedBorderColor → Color?
-
border Color of unselected buttons
final
- unselectedColor → Color?
-
background Color of unselected buttons
final
-
unselectedShadow
→ List<
BoxShadow> -
list of unselected buttons
BoxShadow
final - unselectedTextStyle → TextStyle?
-
TextStyle of text of unselected buttons
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