LoadingButton constructor

LoadingButton({
  1. required String title,
  2. required dynamic onTap(),
  3. Color? color,
  4. Color? textColor,
  5. double? borderRadius,
  6. EdgeInsets? margin,
  7. Color? borderColor,
  8. String? fontFamily,
  9. double? fontSize,
  10. double? width,
  11. double? height,
  12. FontWeight? fontWeight,
  13. 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,
});