AppButton constructor

AppButton({
  1. Function? onTap,
  2. String? text,
  3. double? width,
  4. Color? color,
  5. Color? textColor,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. TextStyle? textStyle,
  9. ShapeBorder? shapeBorder,
  10. Widget? child,
  11. double? elevation,
  12. bool enabled = true,
  13. double? height,
  14. Color? disabledColor,
  15. Color? focusColor,
  16. Color? hoverColor,
  17. Color? splashColor,
  18. bool? enableScaleAnimation,
  19. Color? disabledTextColor,
  20. Key? key,
})

Implementation

AppButton({
  this.onTap,
  this.text,
  this.width,
  this.color,
  this.textColor,
  this.padding,
  this.margin,
  this.textStyle,
  this.shapeBorder,
  this.child,
  this.elevation,
  this.enabled = true,
  this.height,
  this.disabledColor,
  this.focusColor,
  this.hoverColor,
  this.splashColor,
  this.enableScaleAnimation,
  this.disabledTextColor,
  super.key,
});