AtomicIconButton constructor

const AtomicIconButton({
  1. Key? key,
  2. required IconData icon,
  3. required VoidCallback? onPressed,
  4. AtomicIconButtonVariant variant = AtomicIconButtonVariant.ghost,
  5. AtomicIconButtonSize size = AtomicIconButtonSize.medium,
  6. Color? color,
  7. Color? backgroundColor,
  8. String? tooltip,
  9. bool isLoading = false,
  10. 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,
});