mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrew Brogdon
376c666f0a
|
4 years ago | |
---|---|---|
.. | ||
android | 4 years ago | |
ios | 4 years ago | |
lib | 4 years ago | |
test | 5 years ago | |
web | 4 years ago | |
.gitignore | 5 years ago | |
.metadata | 4 years ago | |
README.md | 5 years ago | |
analysis_options.yaml | 5 years ago | |
pubspec.lock | 4 years ago | |
pubspec.yaml | 4 years ago |
README.md
infinite_list
A Flutter sample app that shows an implementation of the "infinite list" UX pattern. That is, a list is shown to the user as if it was continuous although it is internally paginated. This is a common feature of mobile apps, from shopping catalogs through search engines to social media clients.
This particular sample uses the Provider package but any other state management approach would do.
Goals for this sample
- Show how UI code can be "shielded" from complex asynchrony and pagination logic using
a
ChangeNotifier
. - Illustrate use of
Selector
from the Provider package.
Questions/issues
If you have a general question about Flutter, the best places to go are:
If you run into an issue with the sample itself, please file an issue.