IconBadgeButton constructor

const IconBadgeButton({
  1. Key? key,
  2. required IconData icon,
  3. required VoidCallback? onTap,
  4. bool showBadge = false,
  5. int? badgeCount,
  6. Color? color,
  7. Color? badgeColor,
  8. double size = 44,
  9. String? semanticLabel,
})

Implementation

const IconBadgeButton({
  super.key,
  required this.icon,
  required this.onTap,
  this.showBadge = false,
  this.badgeCount,
  this.color,
  this.badgeColor,
  this.size = 44,
  this.semanticLabel,
});