Skip to content
pubscout

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.

$ flutter pub add implicitly_animated_list
Source repository

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.

Works with

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