animator
3.3.0, released 4 years ago by an unverified publisher
A Flutter library for explicit, implicit, and staggered animations using the Animator and AnimateWidget.
What it does
Provides simplified interfaces like Animator and AnimateWidget to separate animation setup from the UI. It supports implicit, explicit, and staggered animations without being constrained to dedicated AnimatedFoo widgets.
AI-written summary of version 3.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to perform implicit or explicit animations without needing dedicated AnimatedFoo widgets.
- You need to implement complex staggered animations easily.
- You want to separate animation setup logic from the user interface.
Skip it when
- You prefer using low-level AnimationController and standard Flutter transition widgets exclusively.
- You want a dedicated Rive or Lottie runtime package.
Strengths
- Simplifies both implicit and explicit animations under unified widgets.
- Supports staggered animations and custom curves per animated value.
- Allows control of animations from outside the widget using AnimatorKey.
Weaknesses
- Depends on the states_rebuilder library ecosystem.
- Documentation outside of README examples is sparse.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
Center(
child: AnimateWidget(
duration: const Duration(seconds: 2),
curve: Curves.fastOutSlowIn,
builder: (context, animate) => Container(
width: animate.call(100.0),
height: animate(200.0, 'height'),
color: animate(Colors.blue),
child: const FlutterLogo(size: 75),
),
),
)Alternatives
Packages that do the same job and could replace animator.
- flutter_animate
Provides a comprehensive chainable extension-based animation system for Flutter widgets.
70Compare - animate_do
Offers ready-to-use entrance and attention animation widgets based on Animate.css.
71Compare
Works with
Packages commonly used together with animator: ones it builds on, ones built on it, and its own family.