NiceInteractiveIcon constructor

const NiceInteractiveIcon({
  1. Key? key,
  2. required IconData icon,
  3. double size = 24,
  4. Color? color,
  5. Color? hoverColor,
  6. Color? activeColor,
  7. NiceIconEffect effect = NiceIconEffect.scale,
  8. VoidCallback? onTap,
  9. String? tooltip,
  10. bool enabled = true,
})

Implementation

const NiceInteractiveIcon({
  super.key,
  required this.icon,
  this.size = 24,
  this.color,
  this.hoverColor,
  this.activeColor,
  this.effect = NiceIconEffect.scale,
  this.onTap,
  this.tooltip,
  this.enabled = true,
});