ButtonTouch constructor

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}
)

Implementation

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,
});