ComButton constructor

const ComButton({
  1. Key? key,
  2. required Widget child,
  3. Gradient? gradient,
  4. VoidCallback? onPressed,
  5. ButtonStyle? style,
  6. bool plain = false,
  7. bool disabled = false,
  8. double? radius,
  9. Color? color,
  10. EdgeInsets? padding,
  11. bool loading = false,
  12. Color? shadowColor,
  13. double elevation = 0,
})

Implementation

const ComButton({
  super.key,
  required this.child,
  this.gradient,
  this.onPressed,
  this.style,
  this.plain = false,
  this.disabled = false,
  this.radius,
  this.color,
  this.padding,
  this.loading = false,
  this.shadowColor,
  this.elevation = 0,
});