CButton constructor
CButton(
- dynamic onPressed(),
- String text, {
- Key? key,
- ButtonType? type = ButtonType.noIcon,
- ButtonShape? typeButton = ButtonShape.filled,
- dynamic onLongPress()?,
- Widget? icon,
- FocusNode? focusNode,
- ButtonStyle? buttonStyle,
- Widget? child,
- Color? textColor,
- TextAlign? textAlign,
- double? fontSize,
- String? fontFamily,
- FontWeight? fontWeight,
- TextStyle? textStyle,
Implementation
CButton(this.onPressed,
this.text, {
super.key,
this.type = ButtonType.noIcon,
this.typeButton = ButtonShape.filled,
this.onLongPress,
this.icon,
this.focusNode,
this.buttonStyle,
this.child,
this.textColor,
this.textAlign,
this.fontSize,
this.fontFamily,
this.fontWeight,
this.textStyle,
});