Skip to content
pubscout

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.

WASM-ready
$ flutter pub add flutter_list_view
Source repository

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.

Works with

Packages commonly used together with flutter_list_view: ones it builds on, ones built on it, and its own family.