ButtonTouch constructor
const
ButtonTouch({ - String? name,
- IconData? icon,
- IconData? alternateIcon,
- VoidCallback? onPress,
- Color? color = Colors.white,
- Color? activeColor,
- Color? inActiveColor,
- bool active = false,
- bool show = true,
- Widget? customComponent,
- bool disabled = false,
- Map<String, Color>? backgroundColor,
- int? size = 16,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- BoxDecoration? decoration,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? contentPadding,
- MainAxisAlignment? contentMainAxisAlignment,
- CrossAxisAlignment? contentCrossAxisAlignment,
- double? contentGap,
- double? iconSize,
- TextStyle? textStyle,
- EdgeInsetsGeometry? labelPadding,
- EdgeInsetsGeometry? iconPadding,
- Widget? iconWidget,
- Widget? alternateIconWidget,
- ControlButtonsTouchButtonContentBuilder? contentBuilder,
- ControlButtonsTouchButtonBuilder? buttonBuilder,
- ControlButtonsTouchButtonIconBuilder? iconBuilder,
- ControlButtonsTouchButtonLabelBuilder? labelBuilder,
- String? semanticsLabel,
})
Implementation
const ButtonTouch({
this.name,
this.icon,
this.alternateIcon,
this.onPress,
this.color = Colors.white,
this.activeColor,
this.inActiveColor,
this.active = false,
this.show = true,
this.customComponent,
this.disabled = false,
this.backgroundColor,
this.size = 16,
this.padding,
this.margin,
this.decoration,
this.constraints,
this.contentPadding,
this.contentMainAxisAlignment,
this.contentCrossAxisAlignment,
this.contentGap,
this.iconSize,
this.textStyle,
this.labelPadding,
this.iconPadding,
this.iconWidget,
this.alternateIconWidget,
this.contentBuilder,
this.buttonBuilder,
this.iconBuilder,
this.labelBuilder,
this.semanticsLabel,
});