TUIAvatar constructor

const TUIAvatar({
  1. Key? key,
  2. required TUIAvatarSize avatarSize,
  3. required TUIAvatarContent avatarContent,
  4. Color? textColor = TUIDefaultColors.onTertiary,
  5. Color? foregroundColor = TUIDefaultColors.constantLight,
  6. Color? backgroundColor = TUIDefaultColors.tertiary,
  7. 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,
});