Avatar constructor

const Avatar({
  1. Key? key,
  2. required AvatarContent content,
  3. AvatarSize size = AvatarSize.m,
  4. AvatarShape? shape,
  5. AvatarStatus status = AvatarStatus.none,
  6. AvatarBadge badge = const NoBadge(),
  7. VoidCallback? onClick,
})

Implementation

const Avatar({
  super.key,
  required this.content,
  this.size = AvatarSize.m,
  this.shape,
  this.status = AvatarStatus.none,
  this.badge = const NoBadge(),
  this.onClick,
});