An example Flutter weather app using the OpenWeatherMap API.
inspired by Andrea Bizzotto open_weather_example_flutter
- riverpod for state management
- freezed for code generation
- http for talking to the REST API
- cached_network_image for caching images
- mocktail for testing
- Flutter App Architecture with Riverpod: An Introduction
- Flutter Project Structure: Feature-first or Layer-first?
- A Comparison of Popular Flutter App Architectures
Note: to use the API you'll need to register an account and obtain your own API key. This can be
set via --dart-define
or inside lib/src/api/api_keys.dart
.