ZetaAvatar constructor

const ZetaAvatar({
  1. Key? key,
  2. ZetaAvatarSize size = ZetaAvatarSize.xl,
  3. Widget? image,
  4. String? initials,
  5. Color? backgroundColor,
  6. Widget? lowerBadge,
  7. Widget? upperBadge,
  8. Color? borderColor,
  9. String? semanticLabel,
  10. String? semanticUpperBadgeLabel,
  11. String? semanticLowerBadgeLabel,
  12. TextStyle? initialTextStyle,
  13. String? label,
  14. TextStyle? labelTextStyle,
  15. int labelMaxLines = 1,
  16. VoidCallback? onTap,
})

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,
  this.semanticUpperBadgeLabel,
  this.semanticLowerBadgeLabel,
  this.initialTextStyle,
  this.label,
  this.labelTextStyle,
  this.labelMaxLines = 1,
  this.onTap,
});