Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.55 KB

README.md

File metadata and controls

48 lines (29 loc) · 1.55 KB

Flutter Weather App

A simple weather app built with Flutter that displays current weather information for a specified city. The app makes use of the Weather API and demonstrates how to create and manage API calls, handle errors, and use the BLoC pattern for state management.

Features

  • Fetch and display current weather information for a city
  • Show weather data, including temperature, humidity, and wind speed
  • Error handling for API requests
  • BLoC pattern for state management using flutter_bloc
  • Dependency injection using get_it
  • Secure API key storage using flutter_dotenv

Setup

  1. Clone this repository:

git clone https://github.com/Sadoge/weather.git

  1. Install the dependencies:

flutter pub get

  1. Create a .env file in the project root and add your Weather API key:

WEATHER_API_KEY=your_api_key_here

  1. Run the app:

flutter run

  1. Demo

A live version of the app is available here

Dependencies

License

MIT License. See LICENSE for more information.