mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-19 09:13:44 +02:00
Merge 0274e65f96
into eda3a928cd
This commit is contained in:
commit
56feba1bbd
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue