Load more data when scroll to end of list view
Paging listview flutter
Infinite scroll listview flutter
- Load next page (show circular progress indicator while loading, show error when an error occurred)
- Retry when an error occurred
- Refresh list (remove all and load first page)
Using BLoC
π pattern with rxdart
πͺ library
Star β if it is helpful π
πΉ Video demo πΊ
Simple BLoC page | Home page | RxRedux page |
---|---|---|
Make sure finish install Flutter successfully
- Clone this repo by:
git clone https://github.com/hoc081098/load_more_flutter_bloc_pattern.git
- Install all the packages by:
flutter packages get
- Run command
flutter packages pub run build_runner build
to generate build_value classes (optional because i pushed files *.g.dart) - Run app on your simulator or device by:
flutter run
For help getting started with Flutter, view our online documentation.