This Flutter app allows users to check the current weather and forecast for the next 5 days in different cities. It utilizes the OpenWeatherMap API to retrieve weather data for the specified city.
- Choose the City: Users can select a city from the dropdown menu to view the weather information.
- OpenWeatherMap API: The app fetches weather data using the OpenWeatherMap API.
- Weather of the Day: Displays the current weather condition, temperature, and sky status for the selected city.
- Next 5 Days Forecast: Provides an hourly forecast for the next 5 days, showing temperature and weather condition.
- Additional Weather Information: Shows humidity, wind speed, and pressure for the current weather.
- Clone this repository to your local machine.
- Obtain an API key from OpenWeatherMap and replace
openWeatherAPIKey
in the code with your API key. - Run the app on your device or emulator.
- Select a city from the dropdown menu to view the weather information.
- http: For making HTTP requests to the OpenWeatherMap API.
- intl: For formatting dates and times.
- (You can mention other dependencies your app uses here.)
- Weather icons: Flaticon
- OpenWeatherMap API: OpenWeatherMap