Skip to content

awaneetdecoder/WeatherApp

Repository files navigation

Weather App 🌦️

A responsive and feature-rich weather forecast application built with Flutter. It provides real-time weather data for any city, an hourly forecast, and a dynamic UI that adapts for both mobile and web.

Live Demo: https://awaneetdecoder.github.io/WeatherApp/


📸 Showcase

Screenshots

Light Mode Dark Mode
Light Mode Screenshot Dark Mode Screenshot

✨ Features

  • Real-time Weather Data: Fetches current temperature, sky condition, humidity, wind speed, and pressure.
  • Dynamic City Search: Allows users to find weather information for any city worldwide.
  • Responsive UI: The layout automatically adjusts for both mobile and desktop web views.
  • Dark & Light Mode: Includes a theme toggle for user preference.
  • Hourly Forecast: Displays an hourly forecast with corresponding temperatures and icons.

🛠️ Tech Stack

  • Framework: Flutter
  • Language: Dart
  • API: OpenWeatherMap REST API for weather data.
  • Packages:
    • http: For making API requests.
    • intl: For date and time formatting.

🚀 Setup and Installation

To run this project locally, follow these steps:

  1. Clone the repository:
    git clone [https://github.com/awaneetdecoder/WeatherApp.git](https://github.com/awaneetdecoder/WeatherApp.git)
  2. Navigate to the project directory:
    cd WeatherApp
  3. Install dependencies:
    flutter pub get
  4. Create secrets.dart: Create a file named secrets.dart inside the lib folder and add your OpenWeatherMap API key:
    // lib/secrets.dart
    const openWeatherAPIKey = 'YOUR_API_KEY_HERE';
  5. Run the app:
    flutter run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors