CustomButton constructor

CustomButton({
  1. String? label,
  2. Widget? icon,
  3. double? iconGap,
  4. Function? onTap,
  5. bool? isLoading,
  6. Color? color,
  7. Color? textColor,
  8. double? padding,
  9. double? radius,
  10. Widget? trailing,
  11. double? textSize,
  12. Color? borderColor,
})

Implementation

CustomButton({
  this.label,
  this.icon,
  this.iconGap,
  this.onTap,
  this.isLoading,
  this.color,
  this.textColor,
  this.padding,
  this.radius,
  this.trailing,
  this.textSize,
  this.borderColor,
});