Avatar constructor
const
Avatar({
- Key? key,
- required AvatarContent content,
- AvatarSize size = AvatarSize.m,
- AvatarShape? shape,
- AvatarStatus status = AvatarStatus.none,
- AvatarBadge badge = const NoBadge(),
- 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,
});