Merge pull request #2 from Iconica-Development/bugfix/avatar_fit

Changed the fit of the avatar
This commit is contained in:
Jacques Doeleman 2022-09-28 11:07:07 +02:00 committed by GitHub
commit 723d4d0c23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ class Avatar extends StatelessWidget {
shape: BoxShape.circle, shape: BoxShape.circle,
image: DecorationImage( image: DecorationImage(
image: MemoryImage(image!), image: MemoryImage(image!),
fit: BoxFit.fill, fit: BoxFit.cover,
), ),
), ),
); );