CustomButton constructor

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

Implementation

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