WuiButton constructor
const
WuiButton({
- Key? key,
- String? text,
- IconData? icon,
- WuiButtonIconPos? iconPos = WuiButtonIconPos.prefix,
- bool? iconOnly,
- WuiButtonSize? size = WuiButtonSize.normal,
- bool? rounded = false,
- bool? smooth = false,
- WuiButtonTheme? theme = WuiButtonTheme.normal,
- Function? onPressed,
Implementation
const WuiButton({
Key? key,
this.text,
this.icon,
this.iconPos = WuiButtonIconPos.prefix,
this.iconOnly,
this.size = WuiButtonSize.normal,
this.rounded = false,
this.smooth = false,
this.theme = WuiButtonTheme.normal,
this.onPressed
}) : super(key: key);