← Flutter & Dart learning pathFlutter & Dart · Module 9 of 10
Themes, animations and packages
Polish apps with themes, motion and pub.dev packages.
📖 Key ideas
- ThemeData sets colours and text styles; Material 3 with ColorScheme.fromSeed.
- Implicit animations: AnimatedContainer, AnimatedOpacity.
- Explicit animations: AnimationController and Tween.
- Hero animates shared elements between screens.
- Find packages on pub.dev; add with flutter pub add.
💡 Real-life example: Animations are the smooth door closers of an app: everything moves gently instead of slamming.
ThemeDataApp-wide styling
AnimatedContainerImplicitly animated container
HeroShared element transition
pub.devDart/Flutter package site