A simple and elegant weather app built with Flutter. It provides real-time weather data, hourly forecasts, and additional information for any city.
- Dynamic UI: The UI provides a rich, at-a-glance view of the current weather.
- City Search: Search for any city in the world to get its weather forecast.
- Hourly Forecast: See a 5-hour forecast with temperature and weather conditions.
- Additional Details: Get extra info on humidity, wind speed, and precipitation.
- Dynamic Icons: Icons change based on the weather conditions (e.g., sunny, clouds, rain, snow).
- Clone the repository:
git clone https://github.com/your-username/flutter-weather-app.git
- Navigate to the project directory:
cd flutter-weather-app - Install dependencies:
flutter pub get
- Create your
secrets.dartfile:- In the
libfolder, create a new file namedsecrets.dart. - Add your OpenWeatherMap API key to it like so:
// lib/secrets.dart const openWeatherAPIKey = "YOUR_API_KEY_HERE";
- In the
- Run the app:
flutter run
