make images fit better

This commit is contained in:
zoe 2022-08-14 18:53:24 +02:00
parent 1dfb4ab6f9
commit b2342dde89
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ class ProfilePic extends StatelessWidget {
const double width = 64;
if (url.isNotEmpty) {
return Image.network(
fit: BoxFit.cover,
url,
errorBuilder: (context, error, stackTrace) => const Icon(
Icons.cruelty_free,