- Load more Flutter BLoC pattern RxDart and RxRedux.
- Load more data when scrolling to end of list view.
- Paging
ListView Flutter
. - Infinite scroll
ListView Flutter
.
Star this repository ππ and follow me for next creations! π. Thanks ππ.
- 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)
- Flutter reactive stream: using
BLoC
pattern withrxdart
library andrx_redux
library.
- π Video demo 1 and πΉ Video demo 2.
- Screenshots:
RxRedux page | Comics page | Simple BLoC page | Home page |
---|---|---|---|
You can download apk here for trying functionalities.
Make sure finish install Flutter successfully
- Clone this repo by:
git clone https://github.com/hoc081098/load_more_flutter_BLoC_pattern_RxDart_and_RxRedux.git
. - Install all the packages by:
flutter packages get
. - Run command
flutter packages pub run build_runner build --delete-conflicting-outputs
to generate build_value classes (optional because I pushed *.g.dart files). - Run app on your simulator or device by:
flutter run
or run inVisual Studio Code
,Android Studio
,Intellij IDEA
, ...
MIT License
Copyright (c) 2020 Petrus Nguyα»
n ThΓ‘i Hα»c