AppButton constructor
const
AppButton({
- Function? onTap,
- String? text,
- double? width,
- Color? color,
- Color? textColor,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- TextStyle? textStyle,
- ShapeBorder? shapeBorder,
- Widget? child,
- double? elevation,
- bool enabled = true,
- double? height,
- Color? disabledColor,
- Color? focusColor,
- Color? hoverColor,
- Color? splashColor,
- bool? enableScaleAnimation,
- Color? disabledTextColor,
- Key? key,
Implementation
const 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,
});