SoftSaaSIconButton constructor

const SoftSaaSIconButton({
  1. Key? key,
  2. required IconData icon,
  3. required VoidCallback? onPressed,
  4. SoftSaaSButtonSize size = SoftSaaSButtonSize.medium,
  5. SoftSaaSIconButtonVariant variant = SoftSaaSIconButtonVariant.ghost,
  6. String? tooltip,
  7. Color? iconColor,
  8. 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,
});