image scale

This commit is contained in:
quantulr
2023-02-12 23:39:41 +08:00
parent b2e52d0539
commit 9261d482cf
7 changed files with 110 additions and 52 deletions

View File

@ -12,8 +12,11 @@ class Gallery extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
UniqueKey key = ref.watch(uniqueIdProvider);
return ImageGrid(
key: key,
return Container(
color: Colors.white,
child: ImageGrid(
key: key,
),
);
}
}