AtomicIconButton constructor
const
AtomicIconButton({
- Key? key,
- required IconData icon,
- required VoidCallback? onPressed,
- AtomicIconButtonVariant variant = AtomicIconButtonVariant.ghost,
- AtomicIconButtonSize size = AtomicIconButtonSize.medium,
- Color? color,
- Color? backgroundColor,
- String? tooltip,
- bool isLoading = false,
- bool isDisabled = false,
Implementation
const AtomicIconButton({
super.key,
required this.icon,
required this.onPressed,
this.variant = AtomicIconButtonVariant.ghost,
this.size = AtomicIconButtonSize.medium,
this.color,
this.backgroundColor,
this.tooltip,
this.isLoading = false,
this.isDisabled = false,
});