About flutter-animation
flutter-animation is a skill for developers building motion in Flutter interfaces. It helps choose animation mechanisms, manage timing and interruption, account for reduced-motion preferences, and verify animation states.
Key features
- 01Choosing implicit or explicit animations
- 02Managing timing and interruption
- 03Using Hero for persistent route elements
- 04Supporting reduced-motion preferences
- 05Testing animation states and ticker lifecycle
Use cases
- 01Selecting an animation approach for UI changes
- 02Building transitions between routes
- 03Adapting motion for accessibility settings
- 04Checking interrupted and reversed animations
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ thienqo/ flutter-skills --skill flutter-animationAfter installing, type/flutter-animationin Claude Code to confirm it loaded.
Bundled filesevals/cases.jsonreferences/motion-patterns-and-reduced-motion.md
Details
From the project READMEFlutter Animation
Use motion to explain state change, hierarchy, or continuity. Keep it interruptible and accessible.
Own timing, interpolation, sequencing, stable identity, and interruption. Route blur, glass, refraction, shader uniforms, and optical layer composition to flutter-visual-effects; when both apply, animation state drives the effect rather than duplicating controller ownership inside the renderer.
Choose the mechanism
- Use implicit animation for a small number of property changes controlled by state.
- Use an
AnimationControllerwhen timing, sequencing, repetition, interruption, or multiple values require explicit ownership. - Use
Heroonly when the same conceptual element persists across routes and tags remain unique. - Use custom painters or lower-level animation only when widget composition cannot express the result efficiently.
- Preserve animation controllers in the state lifecycle that owns them and dispose them correctly.
Do not animate layout-heavy properties across large subtrees without profiling. Avoid stacking unrelated implicit animations that make timing hard to reason about.
Reduced motion
Read platform accessibility preferences through the project-compatible Flutter API. Replace nonessential motion with an immediate or low-motion transition while preserving meaning and task completion.
Verification
Test initial, in-progress, completed, reversed, interrupted, and reduced-motion states where relevant. Check for ticker leaks and profile complex motion in profile mode on a representative device.
When motion patterns or reduced motion is in scope, follow the motion patterns and reduced motion reference.