fix: image doesn't zoom anymore when its size is constrained

This commit is contained in:
mike doornenbal 2023-10-06 11:24:47 +02:00
parent 1bab322e94
commit 123aeab0f2

View file

@ -34,7 +34,7 @@ class Avatar extends StatelessWidget {
image: hasImage
? DecorationImage(
image: imageProvider,
fit: BoxFit.cover,
fit: BoxFit.contain,
)
: null,
),