flutter_animator
3.2.2, released 4 years ago by an unverified publisher
Create Flutter animations with chainable widgets inspired by Animate.css
What it does
Provides a set of pre-built animation widgets that wrap child widgets and handle animation controllers automatically. Animations can be chained, controlled via keys, and customized with preferences.
AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need quick, reusable entrance/exit animations
- Want to avoid boilerplate animation controller code
- Want to control animation magnitude or play state from code
Skip it when
- Building highly custom or physics‑based animations that require fine‑grained control
- Using animations that need complex state management beyond simple play/stop
Strengths
- Large collection of ready‑to‑use animations
- Zero boilerplate: controller and tween setup handled internally
- Supports hot‑reload restart and key‑based control
- Cross‑platform support (Android, iOS, web, desktop)
Weaknesses
- Limited to Animate.css‑style animations; no physics or custom tween support
- No built‑in support for complex animation sequences or custom curves beyond predefined ones
- Documentation is minimal; advanced usage may require reading source
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add dependency to pubspec and run flutter pub get
```dart
import 'package:flutter_animator/flutter_animator.dart';
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return RubberBand(
child: Text('Rubber', style: TextStyle(fontSize: 20)),
);
}
}
```Alternatives
Packages that do the same job and could replace flutter_animator.
- flutter_animate
Offers a similar declarative API with more built‑in animation types and easier custom tween composition
70Compare - lottie
For vector animations from Lottie files rather than CSS‑style animations
96Compare
Works with
Packages commonly used together with flutter_animator: ones it builds on, ones built on it, and its own family.