make aspect ratio logic reusable, optimizations

This commit is contained in:
mertalev
2024-11-17 10:45:19 -05:00
parent 60715059f7
commit 4d1d902773
4 changed files with 166 additions and 115 deletions
@@ -42,7 +42,7 @@ class GalleryStackedChildren extends HookConsumerWidget {
}
return Padding(
key: ValueKey(currentAsset),
key: ValueKey(currentAsset.id),
padding: const EdgeInsets.only(right: 5),
child: GestureDetector(
onTap: () {