DefaultButton constructor
DefaultButton({
- required String title,
- dynamic onTap()?,
- Color? color,
- bool? disabled,
- Color? textColor,
- BorderRadius? borderRadius,
- EdgeInsets? margin,
- Color? borderColor,
- String? fontFamily,
- double? fontSize,
- double? width,
- double? height,
- FontWeight? fontWeight,
- double? elevation,
Implementation
DefaultButton({
required this.title,
this.onTap,
this.color,
this.disabled,
this.textColor,
this.borderRadius,
this.margin,
this.borderColor,
this.fontFamily,
this.fontSize,
this.width,
this.height,
this.fontWeight,
this.elevation,
});