implicitly_animated_list
2.3.0, released 2 years ago by an unverified publisher
A Flutter widget that implicitly animates a list when it rebuilds with new items.
What it does
ImplicitlyAnimatedList automatically animates list items whenever the underlying data changes, such as insertions, deletions, or reorderings. It also provides a SliverImplicitlyAnimatedList variant for use inside a CustomScrollView.
AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need list items to smoothly animate when items are added, removed, or reordered.
- You are using StreamBuilder to supply a changing list of data.
Skip it when
- You require explicit control over animation controllers for complex choreographed sequences.
Strengths
- Easy to integrate by just passing item data and an itemBuilder.
- Supports both standard lists and slivers.
- Allows customizing insert and delete durations.
Weaknesses
- Relies on the `==` operator of items for equality comparisons unless customized.
- Limited to list animations.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
ImplicitlyAnimatedList(
itemData: [1, 2, 3, 4],
itemBuilder: (_, number) => ListTile(title: Text('$number')),
)Alternatives
Packages that do the same job and could replace implicitly_animated_list.
- animated_list_plus
A Flutter ListView that implicitly animates list changes and supports item reordering.
50Compare - implicitly_animated_reorderable_list_2
A Flutter ListView that implicitly animates list changes and supports reordering.
50Compare - automatic_animated_list
An AnimatedList that automatically computes item deltas and animates list changes.
40Compare - diffutil_sliverlist
A SliverList that implicitly animates changes using diffutil.
49Compare
Works with
Packages commonly used together with implicitly_animated_list: ones it builds on, ones built on it, and its own family.