What problem does it solve?
Helps Flutter developers select and implement the correct animation approach and patterns to produce smooth, responsive UI transitions while avoiding common pitfalls like memory leaks, inefficient rebuilds, and improper controller disposal.
Core Features & Use Cases
- Decision logic that selects implicit, explicit, physics-based, hero, staggered, or route transition animations based on UI requirements.
- Practical implementation patterns and examples for AnimatedContainer style implicit transitions, AnimationController/Tween explicit animations, SpringSimulation physics, Hero shared element transitions, staggered sequences, and PageRouteBuilder transitions.
- Validation checklist and strict constraints to ensure controllers are disposed, static child widgets are passed to AnimatedBuilder for performance, and hero tags remain unique and consistent.
- Use case: animate a photo tile expanding into a detail page with a Hero transition and a staggered reveal of metadata, or implement a draggable card that springs back using a physics-based simulation.
Quick Start
Ask the flutter-animation skill to produce a StatefulWidget that uses an AnimationController and Tween to animate a widget size change with proper dispose and performance best practices.