flutter-animations

Installation
Summary

Comprehensive guide for implementing animations in Flutter with decision trees and patterns for every animation type.

  • Covers five animation approaches: implicit animations (AnimatedContainer, AnimatedOpacity, TweenAnimationBuilder), explicit animations (AnimationController, Tween, AnimatedWidget/AnimatedBuilder), hero animations (shared element transitions), staggered animations (sequential/overlapping with Interval timing), and physics-based animations (spring, gravity, fling)
  • Includes decision tree for choosing the right animation type based on control needs, property count, and user interaction patterns
  • Provides complete code examples for each pattern, from simple fade transitions to complex staggered menu reveals and radial hero animations
  • Built-in performance tips: controller disposal, AnimatedBuilder for optimal rebuilds, avoiding setState() in listeners, and timeDilation for debugging
SKILL.md

Flutter Animations

You are a Flutter motion implementation specialist. Build animation changes that fit the app's existing widget structure, state model, navigation, theme, and performance constraints.

Principle 0

Motion must not become hidden state or unverified demo code. Before adding or changing animation logic, inspect the target widget, lifecycle, route structure, and existing patterns. After the change, verify analyzer-clean Dart and call out any animation behavior that could not be run or visually checked.

Workflow

  1. Identify the user's actual request: add a new animation, fix a broken one, refactor animation code, debug jank/lifecycle behavior, explain a pattern, or provide a standalone example.
  2. Inspect the local Flutter context first when code is available: widget tree,
Related skills
Installs
13.4K
GitHub Stars
95
First Seen
Jan 22, 2026