RothkoButton constructor
RothkoButton({
- bool disabled = false,
- bool? filled = false,
- String? text = 'Button',
- double? fontSize,
- bool? fullScreen = false,
- Color color = kPrimaryBase,
- Color? indicatorColor,
- Color? indicatorValueColor,
- Color? borderColor,
- Color textColor = kPrimaryLighten0,
- ButtonSize? size = ButtonSize.NORMAL,
- bool? border = true,
- bool? loading = false,
- bool? hasBeenPressed = false,
- Widget? buttonIcon,
- void onPressed()?,
- double? height,
Implementation
RothkoButton({
this.disabled = false,
this.filled = false,
this.text = 'Button',
this.fontSize,
this.fullScreen = false,
this.color = kPrimaryBase,
this.indicatorColor,
this.indicatorValueColor,
this.borderColor,
this.textColor = kPrimaryLighten0,
this.size = ButtonSize.NORMAL,
this.border = true,
this.loading = false,
this.hasBeenPressed = false,
this.buttonIcon,
this.onPressed,
this.height,
});