A mobile application developed with Flutter that provides real-time, hourly, and 5-day weather forecasts. Features OpenWeather API integration and a component-based architecture.
Category
Mobile App
Status
Completed
GitHub Stats
Created
Dec 20, 2023
Last Updated
Jan 29, 2024
In this project, I developed a mobile-focused weather application using Flutter that displays current weather, hourly data, and a 5-day forecast.
Simply providing the current temperature is not sufficient for weather information. I wanted to display the intra-day changes and a few days' forecast in a single flow with a simple mobile interface.
I divided the application into components within Flutter and fetched the data via the OpenWeather forecast endpoint. In the model layer, I parsed city and forecast data. On the screen, I set up the current conditions, hourly cards, and an expandable/collapsible 5-day forecast section. I used flutter_dotenv for environment variables and included the location retrieval infrastructure, but I used a hardcoded city value for the main flow.
The outcome is a well-organized sample project that clearly demonstrates API consumption, data modeling, and a component-based Flutter screen structure. I combined real-time and forecast-oriented weather experiences in a small project.
Flutter, Dart, HTTP, flutter_dotenv, geolocator, geocoding, intl, shared_preferences, OpenWeather API