Skip to content

A simple and elegant weather app built with Flutter, fetching data from the OpenWeatherMap API.

Notifications You must be signed in to change notification settings

DMounas/weather_app

Repository files navigation

Flutter Weather App 🌦️

A simple and elegant weather app built with Flutter. It provides real-time weather data, hourly forecasts, and additional information for any city.

🛠️ Built With

Flutter Dart OpenWeatherAPI


Demo

Weather App Demo


🚀 Features

  • Dynamic UI: The UI provides a rich, at-a-glance view of the current weather.
  • City Search: Search for any city in the world to get its weather forecast.
  • Hourly Forecast: See a 5-hour forecast with temperature and weather conditions.
  • Additional Details: Get extra info on humidity, wind speed, and precipitation.
  • Dynamic Icons: Icons change based on the weather conditions (e.g., sunny, clouds, rain, snow).

⚙️ Setup and Installation

  1. Clone the repository:
    git clone https://github.com/your-username/flutter-weather-app.git
  2. Navigate to the project directory:
    cd flutter-weather-app
  3. Install dependencies:
    flutter pub get
  4. Create your secrets.dart file:
    • In the lib folder, create a new file named secrets.dart.
    • Add your OpenWeatherMap API key to it like so:
      // lib/secrets.dart
      const openWeatherAPIKey = "YOUR_API_KEY_HERE";
  5. Run the app:
    flutter run

About

A simple and elegant weather app built with Flutter, fetching data from the OpenWeatherMap API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published