flutter_list_view
1.1.29, released 2 years ago by an unverified publisher
Enhanced list view with jump to index, keep position, and sticky headers.
What it does
Provides an enhanced Flutter list view capable of jumping or scrolling to specific indices, keeping scroll positions when inserting items on top, supporting sticky headers, and reusing list items for performance.
AI-written summary of version 1.1.29, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to jump or scroll directly to a specific list index.
- You require sticky headers within a list view.
- You need to insert items at the top without causing the scroll position to jump.
Skip it when
- You need horizontal scroll support (currently listed as a TODO in the package).
- Your list items contain local state and you cannot make them stateless or use permanent items.
Strengths
- Supports jump to index, animate to index, and ensure visible index.
- Built-in sticky header support with reverse mode compatibility.
- Item reuse optimizations and option to keep specific items permanent.
Weaknesses
- Item widgets must not have internal state unless marked as permanent because invisible items are destroyed and reused.
- Horizontal scroll support is not yet documented or supported.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
FlutterListView(
delegate: FlutterListViewDelegate(
(BuildContext context, int index) =>
ListTile(title: Text('List Item ${data[index]}')),
childCount: data.length,
))Alternatives
Packages that do the same job and could replace flutter_list_view.
- indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare - syncfusion_flutter_datagrid
DataGrid widget for tabular data with editing, sorting, paging and export.
91Compare - 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
Works with
Packages commonly used together with flutter_list_view: ones it builds on, ones built on it, and its own family.