WuiButton constructor

const WuiButton({
  1. Key? key,
  2. String? text,
  3. IconData? icon,
  4. WuiButtonIconPos? iconPos = WuiButtonIconPos.prefix,
  5. bool? iconOnly,
  6. WuiButtonSize? size = WuiButtonSize.normal,
  7. bool? rounded = false,
  8. bool? smooth = false,
  9. WuiButtonTheme? theme = WuiButtonTheme.normal,
  10. 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);