Skip to content
pubscout

stacked_listview

1.0.4, released 4 years ago by an unverified publisher

A ListView where children stack when scrolling with swipe-to-remove support.

WASM-ready
$ flutter pub add stacked_listview
Source repository

What it does

Provides a specialized ListView widget where children stack at the beginning during scroll operations. It includes item removal functionality supporting swipe directions and callback hooks before and during removal.

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

Use it when

  • You want a stack-on-scroll list effect for cards or items
  • You need swipe-to-delete interactions with direction detection

Skip it when

  • You require a standard linear list or grid view
  • You do not need stacked scrolling animations

Strengths

  • Supports swipe direction detection for removal callbacks
  • Easy to integrate into standard widget trees

Weaknesses

  • Very narrow use case limited to stacked list effects
  • Limited documentation beyond basic example

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
StackedListView(
  itemCount: data.length,
  itemExtent: 100,
  onRemove: (index, direction) {
    setState(() {
      data.removeAt(index);
    });
  },
  builder: (_, index) {
    return Text(data[index]);
  },
)

Alternatives

Packages that do the same job and could replace stacked_listview.