GroupButtonOptions constructor

const GroupButtonOptions({
  1. GroupingType groupingType = GroupingType.wrap,
  2. Axis? direction,
  3. double spacing = 10,
  4. double runSpacing = 10,
  5. TextStyle? selectedTextStyle = defaultSelectedTextStyle,
  6. TextStyle? unselectedTextStyle = defaultUnselectedTextStyle,
  7. Color? selectedColor,
  8. Color? unselectedColor,
  9. Color? selectedBorderColor,
  10. Color? unselectedBorderColor,
  11. BorderRadius? borderRadius,
  12. List<BoxShadow> selectedShadow = defaultShadow,
  13. List<BoxShadow> unselectedShadow = defaultShadow,
  14. double? buttonHeight,
  15. double? buttonWidth,
  16. MainGroupAlignment mainGroupAlignment = MainGroupAlignment.center,
  17. CrossGroupAlignment crossGroupAlignment = CrossGroupAlignment.center,
  18. GroupRunAlignment groupRunAlignment = GroupRunAlignment.center,
  19. TextAlign textAlign = TextAlign.left,
  20. EdgeInsets textPadding = EdgeInsets.zero,
  21. AlignmentGeometry? alignment,
  22. 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,
});