NiceIconWithBadge constructor

const NiceIconWithBadge({
  1. Key? key,
  2. required IconData icon,
  3. double size = 24,
  4. Color? iconColor,
  5. int? count,
  6. bool showDot = false,
  7. Color? badgeColor,
  8. Color? badgeTextColor,
  9. NiceBadgeAlignment alignment = NiceBadgeAlignment.topRight,
  10. bool animate = false,
  11. VoidCallback? onTap,
})

Implementation

const NiceIconWithBadge({
  super.key,
  required this.icon,
  this.size = 24,
  this.iconColor,
  this.count,
  this.showDot = false,
  this.badgeColor,
  this.badgeTextColor,
  this.alignment = NiceBadgeAlignment.topRight,
  this.animate = false,
  this.onTap,
});