TUIAvatar constructor
const
TUIAvatar({
- Key? key,
- required TUIAvatarSize avatarSize,
- required TUIAvatarContent avatarContent,
- Color? textColor = TUIDefaultColors.onTertiary,
- Color? foregroundColor = TUIDefaultColors.constantLight,
- Color? backgroundColor = TUIDefaultColors.tertiary,
- bool isBadged = false,
Implementation
const TUIAvatar({
super.key,
required this.avatarSize,
required this.avatarContent,
this.textColor = TUIDefaultColors.onTertiary,
this.foregroundColor = TUIDefaultColors.constantLight,
this.backgroundColor = TUIDefaultColors.tertiary,
this.isBadged = false,
});