NiceInteractiveIcon constructor

const NiceInteractiveIcon({
  1. Key? key,
  2. required IconData icon,
  3. IconData? activeIcon,
  4. bool isActive = false,
  5. double size = 24,
  6. Color? color,
  7. Color? activeColor,
  8. double hoverScale = 1.1,
  9. double pressScale = 0.9,
  10. String? tooltip,
  11. VoidCallback? onTap,
})

Implementation

const NiceInteractiveIcon({
  super.key,
  required this.icon,
  this.activeIcon,
  this.isActive = false,
  this.size = 24,
  this.color,
  this.activeColor,
  this.hoverScale = 1.1,
  this.pressScale = 0.9,
  this.tooltip,
  this.onTap,
});