NiceIconButton constructor

const NiceIconButton({
  1. Key? key,
  2. required IconData icon,
  3. VoidCallback? onPressed,
  4. String? tooltip,
  5. double size = 24.0,
  6. Color? color,
  7. NiceButtonVariant variant = NiceButtonVariant.text,
  8. String? badge,
})

Implementation

const NiceIconButton({
  super.key,
  required this.icon,
  this.onPressed,
  this.tooltip,
  this.size = 24.0,
  this.color,
  this.variant = NiceButtonVariant.text,
  this.badge,
});