This commit is contained in:
HammadAsiif 2025-04-07 09:24:30 +02:00 committed by GitHub
commit 56feba1bbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,7 @@ class Avatar extends StatelessWidget {
this.user, this.user,
this.size = 100, this.size = 100,
this.avatarBackgroundColor, this.avatarBackgroundColor,
this.boxfit = BoxFit.contain, this.boxfit = BoxFit.cover,
}); });
/// The user object containing user information. /// The user object containing user information.

View file

@ -46,6 +46,7 @@ class AvatarWrapper extends StatelessWidget {
user: user, user: user,
size: size, size: size,
avatarBackgroundColor: avatarBackgroundColor, avatarBackgroundColor: avatarBackgroundColor,
boxfit: BoxFit.cover,
); );
return showName return showName