Skip to content
pubscout

infinite_listview

1.1.0, released 6 years ago by fluttercommunity.dev

ListView that scrolls infinitely in both directions.

WASM-ready
$ flutter pub add infinite_listview
Source repository

What it does

Provides a drop‑in replacement for ListView that can scroll without bounds forward and backward. It uses a builder pattern to generate items on demand and supports null safety and const construction.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an endlessly scrolling list in both directions without managing indices yourself.
  • You want a simple widget replacement for ListView to achieve infinite scrolling.

Skip it when

  • The list has a known finite size.
  • You require complex pagination or data‑fetching logic beyond simple infinite scrolling.
  • Performance is critical for extremely large data sets.

Strengths

  • Infinite scrolling both forward and backward
  • Null‑safe and can be declared const
  • Easy drop‑in replacement for existing ListView

Weaknesses

  • Limited to simple infinite scrolling use‑cases
  • May not handle very large or complex data efficiently
  • Customization options are fewer than a full custom scroll implementation

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
InfiniteListView.builder(
  itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
);

Alternatives

Packages that do the same job and could replace infinite_listview.

Works with

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