From 5eba466d9b7e5e2fbf6da93aa2d1c557312be7ec Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Sun, 13 Nov 2022 19:28:11 +0800 Subject: [PATCH] Make image expand to cover the rect in photo list --- app/lib/widget/photo_list_item.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/widget/photo_list_item.dart b/app/lib/widget/photo_list_item.dart index 23a808e5..46583882 100644 --- a/app/lib/widget/photo_list_item.dart +++ b/app/lib/widget/photo_list_item.dart @@ -231,6 +231,7 @@ class PhotoListImage extends StatelessWidget { child = buildPlaceholder(); } else { child = CachedNetworkImage( + fit: BoxFit.cover, cacheManager: ThumbnailCacheManager.inst, imageUrl: previewUrl!, httpHeaders: {