Skip to content
pubscout

extended_list

3.0.2, released 2 years ago by fluttercandies.com

Extended list widgets with garbage collection, viewport tracking and trailing layout support.

WASM-ready
$ flutter pub add extended_list
Source repository

What it does

Provides ListView/GridView variants that can track which items enter the viewport, collect garbage indexes, and layout the last child specially (e.g., load‑more footers). It also offers a close‑to‑trailing option for reverse lists.

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

Use it when

  • You need to know which items are visible for cache management
  • You want automatic load‑more/footer handling at the end of a list
  • You require a list that stays close to the trailing edge when reversed

Skip it when

  • A plain ListView/GridView is sufficient
  • You need a lightweight solution without extra delegate logic

Strengths

  • Viewport and garbage‑collection callbacks
  • Customizable last‑child layout types
  • Close‑to‑trailing behavior for chat‑style lists

Weaknesses

  • Adds extra delegate complexity
  • Documentation is limited to README examples
  • Only works on Flutter platforms

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
ExtendedListView.builder(
  extendedListDelegate: ExtendedListDelegate(
    collectGarbage: (garbages) => print('collect garbage: $garbages'),
    viewportBuilder: (first, last) => print('viewport: [$first,$last]'),
    closeToTrailing: true,
  ),
  itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
  itemCount: 100,
);

Alternatives

Packages that do the same job and could replace extended_list.

Works with

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