Set the initial state of the pull-down widget to refreshing

This commit is contained in:
Vishnu Mohandas 2020-06-13 23:39:19 +05:30
parent c9d5cc9e1a
commit b42bbbe0b4

View file

@ -34,7 +34,7 @@ class _GalleryState extends State<Gallery> {
Set<Photo> _selectedPhotos = HashSet<Photo>();
List<Photo> _photos;
RefreshController _refreshController =
RefreshController(initialRefresh: false);
RefreshController(initialRefresh: true);
StreamSubscription<PhotoOpenedEvent> _subscription;
Photo _openedPhoto;