Skip to content
pubscout

indexed_list_view

4.0.2, released today by glasberg.dev

Infinite ListView that lets you programmatically jump instantly to any item by index.

WASM-ready
$ flutter pub add indexed_list_view
Source repository

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.