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