Here are some snapshots of the app in action:
This is a simple weather application built using the OpenWeather API, Lottie animations for enhanced visuals, and geolocation services using the Geolocator and Nominatim (OpenStreetMap) for reverse geocoding. The app provides current weather information based on the user's location and displays it with beautiful animations.
- Current Weather: Fetches and displays the current weather for the user's location.
- Geolocation: Automatically detects the user's location using GPS.
- Reverse Geocoding: Converts geographic coordinates into a readable address using Nominatim.
- Animated Weather: Utilizes Lottie animations to display visually appealing weather conditions.
- Responsive UI: The app's user interface adapts to different screen sizes for a consistent experience.
- OpenWeather API: Provides the weather data used by the app.
- Lottie: Handles the animations for the weather conditions.
- Geolocator: Manages location services and provides the user's current location.
- Nominatim: A geocoding service that converts coordinates into a human-readable address.
- Flutter SDK: Ensure you have Flutter installed on your machine.
- OpenWeather API Key: Sign up for an API key from OpenWeather.
- Clone the repository:
git clone https://github.com/your-username/simple-weather-app.git
- Navigate to the project directory:
cd simple-weather-app - Install dependencies:
flutter pub get
- Add your OpenWeather API key:
- Open
lib/constants.dart. - Replace
YOUR_API_KEYwith your actual OpenWeather API key.
const String weatherApiKey = 'YOUR_API_KEY';
- Open
- Run the app:
flutter run
- Geolocation: The app uses the Geolocator plugin to fetch the user's location. Ensure that location services are enabled on your device.
- Reverse Geocoding: The app uses Nominatim for reverse geocoding, which converts latitude and longitude into a readable address.
- Open the app, and it will automatically fetch and display the weather for your current location.
- The weather data will be accompanied by Lottie animations that correspond to the current weather conditions.
Add some screenshots or GIFs showing the app in action.
Contributions are welcome! If you have any ideas, feel free to fork the project and submit a pull request.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes.
- Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenWeather for providing the weather data.
- Lottie for the beautiful animations.
- Geolocator and Nominatim for handling geolocation and reverse geocoding.
If you have any questions or suggestions, feel free to reach out.
- Email: penjorkinley313@gmail.com

