ZetaAvatar.initials constructor
- Key? key,
- required String? initials,
- ZetaAvatarSize size = ZetaAvatarSize.xl,
- ZetaAvatarBadge? lowerBadge,
- ZetaAvatarBadge? upperBadge,
- Color? borderColor,
- Color? backgroundColor,
- String semanticLabel = 'avatar',
- String semanticUpperBadgeLabel = 'upperBadge',
- String semanticLowerBadgeLabel = 'lowerBadge',
- TextStyle? initialTextStyle,
Constructor for ZetaAvatar with initials.
Implementation
const ZetaAvatar.initials({
super.key,
required this.initials,
this.size = ZetaAvatarSize.xl,
this.lowerBadge,
this.upperBadge,
this.borderColor,
this.backgroundColor,
this.semanticLabel = 'avatar',
this.semanticUpperBadgeLabel = 'upperBadge',
this.semanticLowerBadgeLabel = 'lowerBadge',
this.initialTextStyle,
}) : image = null;