ControlButtonsComponentTouchOptions constructor

const ControlButtonsComponentTouchOptions({
  1. required List<ButtonTouch> buttons,
  2. String position = 'left',
  3. String location = 'top',
  4. String direction = 'horizontal',
  5. BoxDecoration? containerDecoration,
  6. EdgeInsetsGeometry? containerPadding,
  7. EdgeInsetsGeometry? containerMargin,
  8. AlignmentGeometry? containerAlignment,
  9. Clip containerClipBehavior = Clip.none,
  10. bool showAspect = true,
  11. ControlButtonsTouchStateColors? buttonBackgroundColors,
  12. Color? buttonColor,
  13. Color? activeIconColor,
  14. Color? inactiveIconColor,
  15. double? iconSize,
  16. TextStyle? textStyle,
  17. EdgeInsetsGeometry? buttonPadding,
  18. EdgeInsetsGeometry? buttonMargin,
  19. BoxDecoration? buttonDecoration,
  20. BorderRadiusGeometry? buttonBorderRadius,
  21. BoxConstraints? buttonConstraints,
  22. EdgeInsetsGeometry? contentPadding,
  23. MainAxisAlignment? contentMainAxisAlignment,
  24. CrossAxisAlignment? contentCrossAxisAlignment,
  25. double? contentGap,
  26. EdgeInsetsGeometry? labelPadding,
  27. EdgeInsetsGeometry? iconPadding,
  28. double? gap,
  29. Widget? alternateIconComponent,
  30. Widget? iconComponent,
  31. ControlButtonsTouchContainerBuilder? containerBuilder,
  32. ControlButtonsTouchButtonsBuilder? buttonsBuilder,
  33. ControlButtonsTouchButtonBuilder? buttonBuilder,
  34. ControlButtonsTouchButtonContentBuilder? buttonContentBuilder,
  35. ControlButtonsTouchButtonIconBuilder? iconBuilder,
  36. ControlButtonsTouchButtonLabelBuilder? labelBuilder,
})

Implementation

const ControlButtonsComponentTouchOptions({
  required this.buttons,
  this.position = 'left',
  this.location = 'top',
  this.direction = 'horizontal',
  this.containerDecoration,
  this.containerPadding,
  this.containerMargin,
  this.containerAlignment,
  this.containerClipBehavior = Clip.none,
  this.showAspect = true,
  this.buttonBackgroundColors,
  this.buttonColor,
  this.activeIconColor,
  this.inactiveIconColor,
  this.iconSize,
  this.textStyle,
  this.buttonPadding,
  this.buttonMargin,
  this.buttonDecoration,
  this.buttonBorderRadius,
  this.buttonConstraints,
  this.contentPadding,
  this.contentMainAxisAlignment,
  this.contentCrossAxisAlignment,
  this.contentGap,
  this.labelPadding,
  this.iconPadding,
  this.gap,
  this.alternateIconComponent,
  this.iconComponent,
  this.containerBuilder,
  this.buttonsBuilder,
  this.buttonBuilder,
  this.buttonContentBuilder,
  this.iconBuilder,
  this.labelBuilder,
});