animated_stack_widget
0.0.4, released 5 years ago by balanci.ng
Stack widget that animates adding and removing children
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.
- flutter_speed_dial
Flutter plugin to implement a Material Design Speed Dial with labels and animated icons.
92Compare - flutter_reorderable_grid_view
Animated GridViews and Wraps with drag-and-drop reordering and item animations.
91Compare - animated_tree_view
A hierarchical tree view widget with animations, based on AnimatedList.
50Compare - page_view_dot_indicator
A customizable animated dot indicator for PageView widgets.
50Compare
Works with
Packages commonly used together with animated_stack_widget: ones it builds on, ones built on it, and its own family.