animating-flutter-widgets
Installation
SKILL.md
Flutter Animate Implementation (v4.5.x)
Goal
Implement performant, composable, and declarative animations in Flutter using the flutter_animate package. The goal is to reduce boilerplate by using .animate() extension methods on widgets rather than manually orchestrating AnimationController and StatefulWidget mechanics.
Instructions
1. The Core Extension Syntax
Prefer the .animate() extension method on any widget over explicit Animate builder blocks.
Correct Usage:
// 🌟 Best Practice: Extension chaining
Text("Hello World!")
.animate()
.fade(duration: 500.ms)
.scale(curve: Curves.easeOutBack);