← Flutter & Dart learning path
Flutter & Dart · Module 9 of 10

Themes, animations and packages

Polish apps with themes, motion and pub.dev packages.

📖 Key ideas

  1. ThemeData sets colours and text styles; Material 3 with ColorScheme.fromSeed.
  2. Implicit animations: AnimatedContainer, AnimatedOpacity.
  3. Explicit animations: AnimationController and Tween.
  4. Hero animates shared elements between screens.
  5. 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