Browse Source

Cache more stuff in the listview

Vishnu Mohandas 5 years ago
parent
commit
1c6060f09b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/ui/gallery.dart

+ 1 - 0
lib/ui/gallery.dart

@@ -37,6 +37,7 @@ class _GalleryState extends State<Gallery> {
       itemCount: _collatedPhotos.length,
       itemBuilder: _buildListItem,
       controller: _scrollController,
+      cacheExtent: 2000,
     );
   }