auto_animated_list
2.0.0, released 2 years ago by eterkit.com
A ListView widget that automatically animates items when the list changes.
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.
- animated_reorderable
Animated, draggable reorderable ListView/GridView with built‑in swipe‑to‑delete.
73Compare - flutter_slidable
Flutter implementation of slidable list item with directional slide actions and dismissal.
97Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare - aligned_tooltip
A flexible tooltip widget that aligns to its target with automatic fallback positioning.
85Compare
Works with
Packages commonly used together with auto_animated_list: ones it builds on, ones built on it, and its own family.