indexed_list_view
4.0.2, released today by glasberg.dev
Infinite ListView that lets you programmatically jump instantly to any item by index.
What it does
Provides an infinite scrollable list view for Flutter supporting both positive and negative directions. Allows developers to instantly jump or animate to any item index programmatically using an IndexedScrollController.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an infinite scrolling list that goes in both positive and negative directions.
- You are building a calendar or timeline where users need to jump to specific dates instantly.
- You need performant programmatic jumps to large item indices without building intermediate widgets.
Skip it when
- You only need a standard finite list view without programmatic index jumping.
- You do not require infinite scrolling behavior in both directions.
Strengths
- Allows instant programmatic jumping to any index regardless of list size.
- Supports infinite scrolling in both positive and negative directions.
- Provides both builder and separated constructors similar to standard Flutter ListViews.
Weaknesses
- The list is always infinite in both directions, which may require custom bounds handling like minItemCount and maxItemCount.
- Animations are generally not supported when changing the index directly.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
var controller = IndexedScrollController(
initialIndex: 75,
initialScrollOffset: 30.0);
IndexedListView.builder(
controller: controller,
itemBuilder: itemBuilder);Alternatives
Packages that do the same job and could replace indexed_list_view.
- flutter_slidable
Flutter implementation of slidable list item with directional slide actions and dismissal.
97Compare - huge_listview
A performant list view that handles any number of items using a fixed-size cache.
46Compare - country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - infinite_grouped_list
Dynamic scrolling list that efficiently groups items and loads more data as the user scrolls.
79Compare