A minimalist weather application built using Flutter that fetches real-time weather data from an API. This app provides essential weather details such as temperature, humidity, and weather conditions for any location. Designed with a clean and intuitive interface, it’s perfect for learning and practical use.
Follow these steps to set up the project locally:
- Clone the repository:
git clone https://github.com/sahasrayan/flutter-simple-weather-app.git cd flutter-simple-weather-app
- Install dependencies: flutter pub get 3.Set up API key:
Obtain an API key from a weather data provider like OpenWeatherMap or WeatherAPI. Create a file named api_config.dart in the lib directory, and add the following code: const String weatherApiKey = 'YOUR_API_KEY_HERE'; Replace YOUR_API_KEY_HERE with your actual API key. 4.Run the application: flutter run