使い方
- インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
- 必要なツール、認証情報、対応環境を原文で確認します。
- 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/thiennc-tesoglobal/flutter-skills --skill flutter-animation開始前の確認
- 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
- スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。
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
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.


