AuiAvatar.small constructor
const
AuiAvatar.small({
- Key? key,
- String? imageUrl,
- String? name,
- Color? backgroundColor,
- Color? foregroundColor,
- AvatarShape shape = AvatarShape.circle,
- Widget? badge,
- VoidCallback? onTap,
- Color? borderColor,
- double borderWidth = 0,
Creates a small avatar with size 28.
Implementation
const AuiAvatar.small({
super.key,
this.imageUrl,
this.name,
this.backgroundColor,
this.foregroundColor,
this.shape = AvatarShape.circle,
this.badge,
this.onTap,
this.borderColor,
this.borderWidth = 0,
}) : size = 28.0;