make images fit better
This commit is contained in:
parent
1dfb4ab6f9
commit
b2342dde89
|
@ -127,6 +127,7 @@ class ProfilePic extends StatelessWidget {
|
||||||
const double width = 64;
|
const double width = 64;
|
||||||
if (url.isNotEmpty) {
|
if (url.isNotEmpty) {
|
||||||
return Image.network(
|
return Image.network(
|
||||||
|
fit: BoxFit.cover,
|
||||||
url,
|
url,
|
||||||
errorBuilder: (context, error, stackTrace) => const Icon(
|
errorBuilder: (context, error, stackTrace) => const Icon(
|
||||||
Icons.cruelty_free,
|
Icons.cruelty_free,
|
||||||
|
|
Loading…
Reference in New Issue