Skip to content
pubscout

animated_reorderable_list

1.3.0, released 2 years ago by canopas.com

Flutter reorderable list and grid with drag-and-drop and insertion/removal animations.

WASM-ready
$ flutter pub add animated_reorderable_list
Source repository

What it does

Provides AnimatedReorderableListView and AnimatedReorderableGridView widgets supporting drag-and-drop alongside item insert and remove transitions. Also includes standard AnimatedListView and AnimatedGridView widgets without drag-and-drop.

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

Use it when

  • You need a Flutter list or grid that supports both reordering via drag-and-drop and entry/exit animations.
  • You want pre-built animations like fade, scale, slide, and flip for list items.

Skip it when

  • You only need standard static lists or basic Flutter native ReorderableListView without custom animations.

Strengths

  • Supports both ListView and GridView with drag-and-drop and animations simultaneously.
  • Includes many pre-built enter and exit transitions (fade, scale, flip, slide).
  • Allows custom animation builders and locked/non-draggable items.

Weaknesses

  • Relies on correct key usage (like ValueKey) for items to properly track animations.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedReorderableListView(
  items: list,
  itemBuilder: (BuildContext context, int index) {
    final user = list[index];
    return ItemTile(
      key: ValueKey(user.id),
      id: user.id,
    );
  },
  enterTransition: [SlideInDown()],
  exitTransition: [SlideInUp()],
  onReorder: (int oldIndex, int newIndex) {
    setState(() {
      final User user = list.removeAt(oldIndex);
      list.insert(newIndex, user);
    });
  },
  isSameItem: (a, b) => a.id == b.id
)

Alternatives

Packages that do the same job and could replace animated_reorderable_list.

Works with

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