A modern Flutter weather application that provides real-time weather information with beautiful dynamic backgrounds based on current weather conditions and time of day.
- ⏳ Real-time weather data
- 🎥 Dynamic video backgrounds based on weather conditions
- 🕒 Hourly and weekly forecasts
- 📊 Air quality index (AQI) monitoring
- 📍 Location-based weather updates
- 🔍 Search functionality for different locations
- ⏰ Time-aware UI (changes based on location's current time)
- Flutter
- Provider (State Management)
- OpenWeatherMap API
- Geolocator
- Custom platform channels for video backgrounds
- Clone the repository
git clone https://github.com/nikhileshmeher0204/weather_app.git
- Create a
.env
file in the root directory:
API_KEY1=your_openweathermap_api_key
API_KEY2=your_One_Call_API_3.0_api_key
- Install dependencies
flutter clean
flutter pub get
- Run the app
flutter run --no-enable-impeller
- Flutter SDK: >=3.0.0
- Dart SDK: >=3.0.0
- Android SDK: min 21
- iOS: min 11.0
dependencies:
flutter:
sdk: flutter
provider: ^6.0.0
geolocator: ^10.0.0
http: ^1.1.0
flutter_dotenv: ^5.0.2
fonts:
- family: Poppins
fonts:
- asset: assets/fonts/Poppins-Regular.ttf
- asset: assets/fonts/Poppins-Medium.ttf
- asset: assets/fonts/Poppins-ExtraLight.ttf
- asset: assets/fonts/Poppins-SemiBold.ttf
weather_nudge_screen_record3.mp4
weather_nudge_screen_record2.mp4
weather_nudge_screen_record1.mp4
weather_nudge_screen_record4.mp4
The app uses OpenWeatherMap API for weather data:
- ☀️ Current Weather
- 🕒 Hourly Forecast
- 🔃 7-day Forecast
- 💨 Air Quality Data
- 📍 Geocoding
MIT License - See LICENSE file for details
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request