ButtonTouch constructor

const ButtonTouch({
  1. String? name,
  2. IconData? icon,
  3. IconData? alternateIcon,
  4. VoidCallback? onPress,
  5. Color? color = Colors.white,
  6. Color? activeColor,
  7. Color? inActiveColor,
  8. bool active = false,
  9. bool show = true,
  10. Widget? customComponent,
  11. bool disabled = false,
  12. Map<String, Color>? backgroundColor,
  13. int? size = 16,
  14. EdgeInsetsGeometry? padding,
  15. EdgeInsetsGeometry? margin,
  16. BoxDecoration? decoration,
  17. BoxConstraints? constraints,
  18. EdgeInsetsGeometry? contentPadding,
  19. MainAxisAlignment? contentMainAxisAlignment,
  20. CrossAxisAlignment? contentCrossAxisAlignment,
  21. double? contentGap,
  22. double? iconSize,
  23. TextStyle? textStyle,
  24. EdgeInsetsGeometry? labelPadding,
  25. EdgeInsetsGeometry? iconPadding,
  26. Widget? iconWidget,
  27. Widget? alternateIconWidget,
  28. ControlButtonsTouchButtonContentBuilder? contentBuilder,
  29. ControlButtonsTouchButtonBuilder? buttonBuilder,
  30. ControlButtonsTouchButtonIconBuilder? iconBuilder,
  31. ControlButtonsTouchButtonLabelBuilder? labelBuilder,
  32. 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,
});