A Flutter weather app is designed to provide users with accurate information using their current location to display current weather data. It uses an API to display current weather data. This app is well-managed using MVVM architecture and GETX.
- Display current weather conditions including temperature, humidity, wind speed, and more from Weather API.
- Weather condition based app theme.
- Automatic user location detection for accurate weather information.
- Icons based on weather from API.
- User-friendly minimal interface.
- Error handling for API requests and network connectivity issues.
Follow these steps to get the app up and running:
- Clone the repository:
git clone https://github.com/saadshd/Mausam-Weather-App.git
- Install dependencies:
flutter pub get
- Add OpenWeatherMap API KEY on lib/res/app_url/api_key.dart
const apiKey = '<YOUR API KEY>';
- Run the app:
flutter run
The app integrates with a weather API to fetch weather data. The API key should be placed in the lib/res/app_url/api_key.dart
file. You can obtain an API key by signing up on the OpenWeatherMap API website. Must use your own API key.
- GetX - State management and dependency injection.
- Http - For making HTTP requests to the weather API.
- Intl - Internationalization and formatting of dates.
- Geolocator - Getting device location.
- Geocoding - Getting latitude and longitude from address.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch
git checkout -b feature/AmazingFeature
- Commit your Changes
git commit -m 'Add some AmazingFeature'
- Push to the Branch
git push origin feature/AmazingFeature
- Open a Pull Request
Give a ⭐ if this project helped you!