Skip to content
pubscout

animated_list_plus

0.5.2, released 3 years ago by bieker.ninja

A Flutter ListView that implicitly animates list changes and supports item reordering.

WASM-ready
$ flutter pub add animated_list_plus
Source repository

What it does

It calculates the differences between two lists using the MyersDiff algorithm and automatically animates insertions, removals, updates, and reorderings. It includes custom widgets like ImplicitlyAnimatedList, ImplicitlyAnimatedReorderableList, and sliver variants.

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

Use it when

  • You need a ListView that smoothly animates items when list data changes.
  • You want reorderable list items with smooth custom animations and handle triggers.
  • You want to calculate list differences automatically via the MyersDiff algorithm.

Skip it when

  • You are rendering extremely large lists where background diff computation causes performance overhead.
  • You only need standard static lists without item insertion or removal animations.

Strengths

  • Automatically handles item insertions, removals, and updates with animations.
  • Built-in reordering support via ImplicitlyAnimatedReorderableList.
  • Computes diffs on a background isolate by default to keep the UI thread smooth.

Weaknesses

  • Package is in an early phase with limited testing for long-term stability.
  • Computing diffs on very large lists can take significant time.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
ImplicitlyAnimatedList<MyGenericType>(
  items: items,
  areItemsTheSame: (a, b) => a.id == b.id,
  itemBuilder: (context, animation, item, index) {
    return SizeFadeTransition(
      sizeFraction: 0.7,
      curve: Curves.easeInOut,
      animation: animation,
      child: Text(item.name),
    );
  },
);

Alternatives

Packages that do the same job and could replace animated_list_plus.

Works with

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