HbButton constructor

const HbButton({
  1. Key? key,
  2. required String text,
  3. Widget? preIcon,
  4. Color? bgColor,
  5. FnCallBack? onTap,
  6. Color? textColor,
  7. double? height,
  8. double? width,
  9. bool collapseInput = true,
  10. double? radius,
  11. double? fontSize,
  12. Widget? textWeight,
})

Implementation

const HbButton({
  super.key,
  required this.text,
  this.preIcon,
  this.bgColor,
  this.onTap,
  this.textColor,
  this.height,
  this.width,
  this.collapseInput = true,
  this.radius,
  this.fontSize,
  this.textWeight,
});