ZetaAvatar constructor

const ZetaAvatar({
  1. Key? key,
  2. ZetaAvatarSize size = ZetaAvatarSize.xl,
  3. Widget? image,
  4. String? initials,
  5. Color? backgroundColor,
  6. ZetaAvatarBadge? lowerBadge,
  7. ZetaAvatarBadge? upperBadge,
  8. Color? borderColor,
  9. String semanticLabel = 'avatar',
  10. String semanticUpperBadgeLabel = 'upperBadge',
  11. String semanticLowerBadgeLabel = 'lowerBadge',
  12. TextStyle? initialTextStyle,
})

Constructor for ZetaAvatar

Implementation

const ZetaAvatar({
  super.key,
  this.size = ZetaAvatarSize.xl,
  this.image,
  this.initials,
  this.backgroundColor,
  this.lowerBadge,
  this.upperBadge,
  this.borderColor,
  this.semanticLabel = 'avatar',
  this.semanticUpperBadgeLabel = 'upperBadge',
  this.semanticLowerBadgeLabel = 'lowerBadge',
  this.initialTextStyle,
});