CustomButton constructor

CustomButton(
  1. {required VoidCallback action,
  2. bool show = true,
  3. Color? backgroundColor,
  4. bool disabled = false,
  5. IconData? icon,
  6. String? text,
  7. TextStyle? textStyle,
  8. Widget? customComponent,
  9. TextStyle? iconStyle}
)

Implementation

CustomButton({
  required this.action,
  this.show = true,
  this.backgroundColor,
  this.disabled = false,
  this.icon,
  this.text,
  this.textStyle,
  this.customComponent,
  this.iconStyle,
});