RothkoIconButton constructor
RothkoIconButton({
- bool disabled = false,
- bool transparent = false,
- Color rothkoIconColor = RothkoColor.kLightNeutralLighten2,
- Color backgroundColor = RothkoColor.kPrimaryBase,
- IconButtonSize size = IconButtonSize.NORMAL,
- bool? loading = false,
- bool? hasBeenPressed = false,
- Widget? buttonWidget,
- IconData? buttonIcon,
- void onPressed()?,
Implementation
RothkoIconButton(
{this.disabled = false,
this.transparent = false,
this.rothkoIconColor = RothkoColor.kLightNeutralLighten2,
this.backgroundColor = RothkoColor.kPrimaryBase,
this.size = IconButtonSize.NORMAL,
this.loading = false,
this.hasBeenPressed = false,
this.buttonWidget,
this.buttonIcon,
this.onPressed})
: assert(buttonIcon != null || buttonWidget != null);