Flutter Weather Forecast App
A Flutter app that fetches current weather and a 5-day forecast from a public REST API and displays it with icons and charts. Learners practice async/await, HTTP requests, JSON parsing, and Provider-based state management.
- Estimate
- ~11h
- Steps
- 6
- Completed by
- 0
- Proposed by
- codeseed.app
Flutter · http · Provider
Project roadmap
- 01
Test the weather API
~1.5hRegister for an API key and test current-weather and forecast endpoints using the http package.
- 02
Model the JSON response
~2hCreate Dart classes with fromJson factories matching the API's response shape.
- 03
Build a Provider state layer
~2hCreate a ChangeNotifier that manages loading, error, and data states for weather requests.
- 04
Design the current-weather screen
~2hShow temperature, conditions, and icons, with a toggle between Celsius and Fahrenheit.
- 05
Add the forecast list
~2hDisplay a 5-day forecast list with pull-to-refresh support.
- 06
Handle errors and search
~1.5hAdd error/offline UI states and a city search feature.
Resources
- DocsDart Guides
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack