NiceIconDisplay constructor

const NiceIconDisplay({
  1. Key? key,
  2. required IconData icon,
  3. double size = 24,
  4. Color? color,
  5. String? badge,
  6. Color? badgeColor,
  7. bool showStatusDot = false,
  8. Color? statusDotColor,
  9. Widget? overlay,
  10. Alignment overlayAlignment = Alignment.bottomRight,
  11. String? tooltip,
  12. VoidCallback? onTap,
})

Implementation

const NiceIconDisplay({
  super.key,
  required this.icon,
  this.size = 24,
  this.color,
  this.badge,
  this.badgeColor,
  this.showStatusDot = false,
  this.statusDotColor,
  this.overlay,
  this.overlayAlignment = Alignment.bottomRight,
  this.tooltip,
  this.onTap,
});