Weather App is a Flutter application that allows users to check the weather forecast for the next five days.
- Display the current weather information for a default city.
- Allow users to dynamically change the city and see the weather forecast.
- Show a five-day weather forecast with details such as temperature, weather description, and icons.
- Provide additional information like cloud cover, pressure, humidity, and wind speed.
To get started with the Weather App, follow these steps:
-
Clone the repository:
git clone https://github.com/iZeroKim/WeatherApp.git
-
Navigate to the project directory:
cd weather-app
-
Install dependencies:
flutter pub get
-
Run the application:
flutter run
To configure the default city or API key, update the respective constants in the lib/constants/Constants.dart file. ```bash
//lib/constants/Constants.dart
class Constants {
static const String API_KEY = 'your_openweathermap_api_key';
static const String DEFAULT_CITY = 'Nairobi';
}
##Dependencies The Weather App relies on the following key dependencies:
http for making HTTP requests. flutter_riverpod for state management. intl for date formatting.
To install these dependencies, update your pubspec.yaml file: ```bash
dependencies:
flutter:
sdk: flutter
http: ^0.13.3
flutter_riverpod: ^0.15.0
intl: ^0.17.0
##Screenshots
##License This project is licensed under the MIT License.