GroupButtonOptions constructor
const
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,
Implementation
const GroupButtonOptions({
this.groupingType = GroupingType.wrap,
this.direction,
this.spacing = 10,
this.runSpacing = 10,
this.selectedTextStyle = defaultSelectedTextStyle,
this.unselectedTextStyle = defaultUnselectedTextStyle,
this.selectedColor,
this.unselectedColor,
this.selectedBorderColor,
this.unselectedBorderColor,
this.borderRadius,
this.selectedShadow = defaultShadow,
this.unselectedShadow = defaultShadow,
this.buttonHeight,
this.buttonWidth,
this.mainGroupAlignment = MainGroupAlignment.center,
this.crossGroupAlignment = CrossGroupAlignment.center,
this.groupRunAlignment = GroupRunAlignment.center,
this.textAlign = TextAlign.left,
this.textPadding = EdgeInsets.zero,
this.alignment,
this.elevation,
});