IconButtonProps constructor
const
IconButtonProps({
- required Widget icon,
- void onPressed()?,
- ColorVariant color = ColorVariant.secondary,
- StyleVariant style = StyleVariant.ghost,
- ComponentSize size = ComponentSize.md,
- bool disabled = false,
- bool loading = false,
- String? tooltip,
Implementation
const IconButtonProps({
required this.icon,
this.onPressed,
this.color = ColorVariant.secondary,
this.style = StyleVariant.ghost,
this.size = ComponentSize.md,
this.disabled = false,
this.loading = false,
this.tooltip,
});