CustomActionButton constructor

const CustomActionButton({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPressed,
  4. bool isLoading = false,
  5. IconData? icon,
  6. Color? backgroundColor,
  7. Color? textColor,
  8. Color? borderColor,
  9. double? width,
  10. double? height,
  11. bool isOutlined = true,
  12. String? underlinedChar,
  13. EdgeInsets? padding,
  14. double? fontSize,
  15. ErpTheme? theme,
})

Implementation

const CustomActionButton({
  super.key,
  required this.text,
  this.onPressed,
  this.isLoading = false,
  this.icon,
  this.backgroundColor,
  this.textColor,
  this.borderColor,
  this.width,
  this.height,
  this.isOutlined = true,
  this.underlinedChar,
  this.padding,
  this.fontSize,
  this.theme
});