Skip to content
pubscout

auto_animated_list

2.0.0, released 2 years ago by eterkit.com

A ListView widget that automatically animates items when the list changes.

WASM-ready
$ flutter pub add auto_animated_list
Source repository

What it does

AutoAnimatedList watches a list of items and animates insertions, removals and moves using built‑in transitions. It requires only the items and an itemBuilder, handling diff calculations internally.

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

Use it when

  • You need animated list updates without writing boilerplate diff logic
  • You want a simple declarative API for common list animations

Skip it when

  • You need highly custom animations per item
  • You require fine‑grained performance tuning for very large lists

Strengths

  • Zero boilerplate API
  • Automatic diffing and animation handling
  • Works on all Flutter platforms

Weaknesses

  • Limited customization of animation curves per operation
  • Relies on diffutil_dart which may add overhead for huge lists

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
AutoAnimatedList<Fruit>(
  items: fruits,
  itemBuilder: (context, fruit, index, animation) {
    return SizeFadeTransition(
      animation: animation,
      child: ListTile(
        leading: Text('${index + 1}'),
        title: Text(fruit.name),
      ),
    );
  },
);

Alternatives

Packages that do the same job and could replace auto_animated_list.

Works with

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