ZetaAvatarBadge.icon constructor

const ZetaAvatarBadge.icon({
  1. Key? key,
  2. Color? color,
  3. IconData? icon = ZetaIcons.star,
  4. Color? iconColor,
  5. ZetaAvatarSize size = ZetaAvatarSize.xxxl,
})

Constructs ZetaAvatarBadge with icon

Implementation

const ZetaAvatarBadge.icon({
  super.key,
  this.color,
  this.icon = ZetaIcons.star,
  this.iconColor,
  this.size = ZetaAvatarSize.xxxl,
})  : value = null,
      type = ZetaAvatarBadgeType.icon;