flutter-animation

Installation
SKILL.md

Flutter 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 AnimationController when timing, sequencing, repetition, interruption, or multiple values require explicit ownership.
  • Use Hero only 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.

Installs
29
GitHub Stars
7
First Seen
Aug 24, 2026
flutter-animation — thiennc-tesoglobal/flutter-skills