Skip to content
pubscout

animated_stack_widget

0.0.4, released 5 years ago by balanci.ng

Stack widget that animates adding and removing children

WASM-readySingle maintainer
$ flutter pub add animated_stack_widget
Source repository

What it does

The package provides an AnimatedStack widget that lets you add or remove children with a smooth animation, similar to AnimatedList but for a Stack. It exposes an AnimatedStackManager to control the stack programmatically.

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

Use it when

  • You need to animate the appearance or disappearance of widgets in a Stack layout
  • You want a lightweight solution without external dependencies

Skip it when

  • You require complex animation curves or physics-based motion beyond simple fade/slide
  • You need a maintained, actively developed package

Strengths

  • No external dependencies
  • Simple API similar to AnimatedList
  • Supports programmatic control via AnimatedStackManager

Weaknesses

  • Last release was 2021, no recent maintenance
  • Limited documentation and examples
  • No support for advanced animation features

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
```dart
import 'package:animated_stack_widget/animated_stack_widget.dart';

AnimatedStack(
  children: [
    Positioned(child: Text('First'), left: 0, top: 0),
    Positioned(child: Text('Second'), left: 50, top: 50),
  ],
)
```

Alternatives

Packages that do the same job and could replace animated_stack_widget.

Works with

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