RothkoButton constructor

RothkoButton({
  1. bool disabled = false,
  2. bool? filled = false,
  3. String? text = 'Button',
  4. double? fontSize,
  5. bool? fullScreen = false,
  6. Color color = kPrimaryBase,
  7. Color? indicatorColor,
  8. Color? indicatorValueColor,
  9. Color? borderColor,
  10. Color textColor = kPrimaryLighten0,
  11. ButtonSize? size = ButtonSize.NORMAL,
  12. bool? border = true,
  13. bool? loading = false,
  14. bool? hasBeenPressed = false,
  15. Widget? buttonIcon,
  16. void onPressed()?,
  17. 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,
});