very_good_infinite_list library Null safety

Classes

InfiniteList
A widget that makes it easy to declaratively load and display paginated data as a list.
SliverInfiniteList
The sliver version of InfiniteList.

Constants

defaultDebounceDuration → const Duration
Default value to InfiniteList.debounceDuration.
Duration(milliseconds: 100)

Functions

defaultInfiniteListErrorBuilder(BuildContext buildContext) Widget
Default value to InfiniteList.loadingBuilder. Renders a centered Text "error".
defaultInfiniteListLoadingBuilder(BuildContext buildContext) Widget
Default value to InfiniteList.loadingBuilder. Renders a centered CircularProgressIndicator.

Typedefs

ItemBuilder = Widget Function(BuildContext context, int index)
The type definition for the InfiniteList.itemBuilder.