ZetaNotificationBadge.icon constructor

const ZetaNotificationBadge.icon({
  1. Key? key,
  2. required IconData? icon,
  3. Color? iconColor,
})

Constructs a notification badge with an icon.

Implementation

const ZetaNotificationBadge.icon({
  super.key,
  required this.icon,
  this.iconColor,
})  : avatar = null,
      image = null;