SoftSaaSIconButton constructor
const
SoftSaaSIconButton({
- Key? key,
- required IconData icon,
- required VoidCallback? onPressed,
- SoftSaaSButtonSize size = SoftSaaSButtonSize.medium,
- SoftSaaSIconButtonVariant variant = SoftSaaSIconButtonVariant.ghost,
- String? tooltip,
- Color? iconColor,
- Color? hoverIconColor,
Implementation
const SoftSaaSIconButton({
super.key,
required this.icon,
required this.onPressed,
this.size = SoftSaaSButtonSize.medium,
this.variant = SoftSaaSIconButtonVariant.ghost,
this.tooltip,
this.iconColor,
this.hoverIconColor,
});