ComButton constructor
const
ComButton({
- Key? key,
- required Widget child,
- Gradient? gradient,
- VoidCallback? onPressed,
- ButtonStyle? style,
- bool plain = false,
- bool disabled = false,
- double? radius,
- Color? color,
- EdgeInsets? padding,
- bool loading = false,
- Color? shadowColor,
- 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,
});