very_good_infinite_list
0.9.0, released 2 years ago by verygood.ventures
Easily display paginated and infinite scrolling lists in Flutter.
What it does
A Flutter library for lazily fetching and rendering paginated data. It provides an InfiniteList widget with built-in support for loading, error, and empty states, as well as automatic fetching when scrolling near the end of the list.
AI-written summary of version 0.9.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building activity feeds, news feeds, or lists requiring infinite scrolling
- You need built-in handling for loading states, error states, and empty states during pagination
Skip it when
- You are not using Flutter
- You only need a static list without pagination or lazy loading
Strengths
- Easy to implement with an API similar to ListView.builder
- Customizable loading, error, and empty builders
- Supports reverse scrolling, scroll controllers, and debouncing
Weaknesses
- Relies on external state management to actually fetch and store the paginated data
- Limited to list-based scrolling behaviors
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
InfiniteList(
itemCount: _items.length,
isLoading: _isLoading,
onFetchData: _fetchData,
itemBuilder: (context, index) {
return ListTile(
title: Text(_items[index]),
);
},
)Alternatives
Packages that do the same job and could replace very_good_infinite_list.
- country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - flutter_reorderable_list
Reorderable list for Flutter supporting slivers and large items
50Compare - enhanced_paginated_view
A customizable Flutter widget for paginated lists, grids, and slivers with pull-to-refresh.
65Compare - expandable_datatable
Flutter data table with expandable rows for hidden columns.
61Compare
Works with
Packages commonly used together with very_good_infinite_list: ones it builds on, ones built on it, and its own family.