Very Good Infinite List
A Very Good Infinite List Widget created by Very Good Ventures.
InfiniteList comes in handy when building features like activity feeds, news feeds, or anywhere else where you need to lazily fetch and render content for users to consume.
Example
Usage
A basic InfiniteList
requires two parameters:
itemLoader
which is responsible for asynchronously fetching the contentbuilder
which is responsible for returning aWidget
given a specific item (result)
Customizations
InfiniteList
InfiniteList
has multiple optional parameters which allow you to customize the loading and error behavior.
InfiniteListBuilder
InfiniteListBuilder
has multiple optional parameters which allow you to render different widgets in response to various states that the InfiniteList
can be in.
Refer to the example to see both basic and complex usage of InfiniteList
.
GitHub
https://github.com/VeryGoodOpenSource/very_good_infinite_list