DefaultButton constructor

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