Skip to content

Files

Latest commit

719fd72 · Feb 12, 2025

History

History

infinite_list

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 15, 2023
Nov 15, 2023
Feb 12, 2025
Nov 15, 2023
Nov 15, 2023
Jun 7, 2021
May 15, 2024
Nov 15, 2023
May 16, 2020
Nov 16, 2023
May 16, 2020
Feb 16, 2023
Nov 15, 2023
Feb 12, 2025

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.