Skip to content
pubscout

animated_reorderable

2.10.1, released 4 weeks ago by igorkurilenko.dev

Animated, draggable reorderable ListView/GridView with built‑in swipe‑to‑delete.

WASM-ready
$ flutter pub add animated_reorderable
Source repository

What it does

Wraps any ListView or GridView to add drag‑and‑drop reordering, animated inserts/removals, and swipe‑to‑delete. Supports moving items between multiple lists or grids via AnimatedReorderableGroup.

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

Use it when

  • You need a sortable list or grid with smooth animations
  • You want to move items between several lists (e.g., a kanban board)
  • You need built‑in swipe‑to‑delete without extra widgets

Skip it when

  • You require drag handles, headers/footers, or sliver‑based lists
  • You only need simple reordering without animations
  • You need platform‑specific drag‑and‑drop APIs not covered by Flutter

Strengths

  • Combines reorderable list and animated list features
  • Works with both ListView and GridView
  • Supports cross‑list dragging and swipe‑to‑delete
  • No extra native dependencies

Weaknesses

  • No drag‑handle support; long‑press only
  • No sliver version; cannot be used inside CustomScrollView
  • Limited customization of drag feedback

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedReorderable.list(
  key: listKey,
  keyGetter: (i)=>ValueKey(items[i]),
  reorder: ReorderOptions(onReorder:(moves)=>moves.apply(items)),
  listView: ListView.builder(
    itemCount: items.length,
    itemBuilder:(c,i)=>ListTile(title:Text(items[i])),
  ),
);

Alternatives

Packages that do the same job and could replace animated_reorderable.

  • flutter_slidable

    Provides flexible swipe‑to‑delete and other slide actions without full reorderable functionality

Works with

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