LoadingButton constructor
LoadingButton({
- required String title,
- required dynamic onTap(),
- Color? color,
- Color? textColor,
- double? borderRadius,
- EdgeInsets? margin,
- Color? borderColor,
- String? fontFamily,
- double? fontSize,
- double? width,
- double? height,
- FontWeight? fontWeight,
- required GlobalKey<
CustomButtonState> btnKey,
Implementation
LoadingButton({
required this.title,
required this.onTap,
this.color,
this.textColor,
this.borderRadius,
this.margin,
this.borderColor,
this.fontFamily,
this.fontSize,
this.width,
this.height,
this.fontWeight,
required this.btnKey,
});