Compare commits

...

6 Commits

Author SHA1 Message Date
ashilkn
3d90e37a00 Merge gallery_scroll_improvement 2025-08-07 13:19:15 +05:30
ashilkn
eb9f5830a5 Merge branch 'gallery_scroll_improvement' into release_mob_jul_31 2025-08-07 13:15:05 +05:30
ashilkn
348ede2a03 bump up build number 2025-08-05 20:36:39 +05:30
ashilkn
5619b349b3 Merge branch 'increase_cache_extent_gallery' into release_mob_jul_31 2025-08-05 20:32:09 +05:30
ashilkn
1648f62da6 Add repaint boundary over each gird item in gallery 2025-08-05 16:49:48 +05:30
Neeraj
d7fdca78f7 Update pubspec.yaml 2025-08-05 10:20:49 +05:30

View File

@@ -224,12 +224,13 @@ class GalleryGroups {
int i = 0; int i = 0;
while (!endOfListReached) { while (!endOfListReached) {
gridRowChildren.add( gridRowChildren.add(
GalleryFileWidget( RepaintBoundary(
key: ValueKey( key: ValueKey(
tagPrefix + tagPrefix +
filesInGroup[firstIndexOfRowWrtFilesInGroup + i] filesInGroup[firstIndexOfRowWrtFilesInGroup + i]
.tag, .tag,
), ),
child: GalleryFileWidget(
file: filesInGroup[firstIndexOfRowWrtFilesInGroup + i], file: filesInGroup[firstIndexOfRowWrtFilesInGroup + i],
selectedFiles: selectedFiles, selectedFiles: selectedFiles,
limitSelectionToOne: limitSelectionToOne, limitSelectionToOne: limitSelectionToOne,
@@ -237,6 +238,7 @@ class GalleryGroups {
photoGridSize: crossAxisCount, photoGridSize: crossAxisCount,
currentUserID: currentUserID, currentUserID: currentUserID,
), ),
),
); );
endOfListReached = endOfListReached =
@@ -247,12 +249,13 @@ class GalleryGroups {
} else { } else {
for (int i = 0; i < crossAxisCount; i++) { for (int i = 0; i < crossAxisCount; i++) {
gridRowChildren.add( gridRowChildren.add(
GalleryFileWidget( RepaintBoundary(
key: ValueKey( key: ValueKey(
tagPrefix + tagPrefix +
filesInGroup[firstIndexOfRowWrtFilesInGroup + i] filesInGroup[firstIndexOfRowWrtFilesInGroup + i]
.tag, .tag,
), ),
child: GalleryFileWidget(
file: filesInGroup[firstIndexOfRowWrtFilesInGroup + i], file: filesInGroup[firstIndexOfRowWrtFilesInGroup + i],
selectedFiles: selectedFiles, selectedFiles: selectedFiles,
limitSelectionToOne: limitSelectionToOne, limitSelectionToOne: limitSelectionToOne,
@@ -260,6 +263,7 @@ class GalleryGroups {
photoGridSize: crossAxisCount, photoGridSize: crossAxisCount,
currentUserID: currentUserID, currentUserID: currentUserID,
), ),
),
); );
} }
} }