A single-screen animated weather app, ported from the web version:
- Big temperature display (Fraunces), condition label, "feels like"
- Live animated sky per condition: rotating sun rays + rising dust (sunny), drifting clouds (cloudy), falling rain (rainy), drifting snow (snowy), twinkling stars + moon (night), rain + lightning flashes (storm)
- Tap the chips top-right to switch conditions and preview each animation
- Humidity and wind shown in an instrument-style bar at the bottom
This was written as a standard Flutter app (no build tools available in this sandbox to test-compile it, so please run it locally):
flutter pub get
flutter runRequires the google_fonts package (already in pubspec.yaml) — it fetches
Fraunces, Inter, and JetBrains Mono at runtime. For fully offline builds,
bundle those three fonts locally and swap GoogleFonts.xxx() calls for
TextStyle(fontFamily: ...) instead.
lib/main.dart — entire app (single file, ~500 lines)
pubspec.yaml — dependencies
Everything (background gradient, particles, clouds, sun/moon, and the
foreground UI) lives in main.dart, organized top-to-bottom: data models →
particle painter → sun/moon/clouds widgets → foreground UI widgets.