ControlButtonsComponentTouchOptions constructor
const
ControlButtonsComponentTouchOptions({
- required List<
ButtonTouch> buttons, - String position = 'left',
- String location = 'top',
- String direction = 'horizontal',
- BoxDecoration? containerDecoration,
- EdgeInsetsGeometry? containerPadding,
- EdgeInsetsGeometry? containerMargin,
- AlignmentGeometry? containerAlignment,
- Clip containerClipBehavior = Clip.none,
- bool showAspect = true,
- ControlButtonsTouchStateColors? buttonBackgroundColors,
- Color? buttonColor,
- Color? activeIconColor,
- Color? inactiveIconColor,
- double? iconSize,
- TextStyle? textStyle,
- EdgeInsetsGeometry? buttonPadding,
- EdgeInsetsGeometry? buttonMargin,
- BoxDecoration? buttonDecoration,
- BorderRadiusGeometry? buttonBorderRadius,
- BoxConstraints? buttonConstraints,
- EdgeInsetsGeometry? contentPadding,
- MainAxisAlignment? contentMainAxisAlignment,
- CrossAxisAlignment? contentCrossAxisAlignment,
- double? contentGap,
- EdgeInsetsGeometry? labelPadding,
- EdgeInsetsGeometry? iconPadding,
- double? gap,
- Widget? alternateIconComponent,
- Widget? iconComponent,
- ControlButtonsTouchContainerBuilder? containerBuilder,
- ControlButtonsTouchButtonsBuilder? buttonsBuilder,
- ControlButtonsTouchButtonBuilder? buttonBuilder,
- ControlButtonsTouchButtonContentBuilder? buttonContentBuilder,
- ControlButtonsTouchButtonIconBuilder? iconBuilder,
- 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,
});