Cache more stuff in the listview

This commit is contained in:
Vishnu Mohandas 2020-04-25 16:03:14 +05:30
parent 6c768da91a
commit 1c6060f09b

View file

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