1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Files
samples/infinite_list
Brett Morgan 0ccc283a4e Fixup for failing Beta CI (#2092)
Turns out, we shipped a new Flutter beta as well. 

Commenting out `experimental/varfont_shader_puzzle` from beta CI

Everything else is just cleanup.

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-11-16 14:48:50 +10:00
..
2023-11-16 08:55:44 +10:00
2023-11-16 08:55:44 +10:00
2023-11-16 08:55:44 +10:00
2023-11-16 08:55:44 +10:00
2023-08-17 06:26:43 +10:00
2023-11-16 08:55:44 +10:00
2020-05-15 17:53:54 -07:00
2023-11-16 14:48:50 +10:00
2023-11-16 14:48:50 +10:00
2020-05-15 17:53:54 -07:00

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.

An animated gif of the app in action

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.