CButton constructor
CButton({
- Key? key,
- required String text,
- VoidCallback? onPressed,
- bool? disabled,
- CButtonSize? size,
- Color? color,
- CButtonStyle? type,
- Color? textColor,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- int? flex,
- bool? visible,
- double? borderRadius,
- Color? backgroundColor,
- Style? style,
- double? gap,
- dynamic onTap()?,
- bool? expanded,
- Decoration? decoration,
- String? tag,
Implementation
CButton(
{super.key,
required this.text,
this.onPressed,
this.disabled,
this.size,
this.color,
this.type,
this.textColor,
super.width,
super.height,
super.margin,
super.padding,
super.flex,
super.visible,
super.borderRadius,
super.backgroundColor,
super.style,
super.gap,
super.onTap,
super.expanded,
super.decoration,
super.tag});