IconButtonProps constructor
const
IconButtonProps({
- required Component icon,
- void onPressed()?,
- IconButtonVariant variant = IconButtonVariant.ghost,
- IconButtonSize size = IconButtonSize.medium,
- bool disabled = false,
- bool loading = false,
- String? tooltip,
Implementation
const IconButtonProps({
required this.icon,
this.onPressed,
this.variant = IconButtonVariant.ghost,
this.size = IconButtonSize.medium,
this.disabled = false,
this.loading = false,
this.tooltip,
});