Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ArizArmeidi/FlutterWeather

Weather app created using Flutter and Dart
https://github.com/ArizArmeidi/FlutterWeather

dart fluter-ui flutter flutter-examples openweather-api openweathermap openweathermap-api weather weather-app

Last synced: 30 days ago
JSON representation

Weather app created using Flutter and Dart

Awesome Lists containing this project

README

        

# FlutterWeather
### Updated to Flutter 3.0 & New Updated Design

A simple weather App created using [Flutter](https://flutter.dev/) and [Dart](https://dart.dev/) and using API from [OpenWeatherMap](https://openweathermap.org/)
**New Design Inspired by [Rina Damayanti](https://dribbble.com/shots/23103004-Weather-Mobile-App) on Dribbble.**






## API Docs
> [!IMPORTANT]
> This project uses **_version 2.5_** of the OpenWeatherMap API
> **API used in this project**:
> - [Current Weather API Docs](https://openweathermap.org/current#one)
> - [One Call API Docs](https://openweathermap.org/api/one-call-api#data)
> - [Geocoding API Docs](https://openweathermap.org/api/geocoding-api)

## Features
- Automatically acquire user current location
- Searchable location
- Hourly weather information
- 7 days weather information

## How to Run
1. Create an account at [OpenWeatherMap](https://openweathermap.org/).
2. Then get your API key from https://home.openweathermap.org/api_keys.
>Sometimes after getting your OpenWeatherMap API key it won't work right away
>To test if your API key is working or not copy and paste the following link to your browser
>https://api.openweathermap.org/data/2.5/weather?lat=53.4794892&lon=-2.2451148&units=metric&appid=YOUR_API_KEY
>Then replace `YOUR_API_KEY` with your own API key from OpenWeatherMap
3. Clone the repo
```sh
git clone https://github.com/ArizArmeidi/FlutterWeather.git
```
4. Install all the packages by typing
```sh
flutter pub get
```
5. Navigate to **lib/provider/weatherProvider.dart** and paste your API key to the apiKey variable
```dart
String apiKey = 'Paste Your API Key Here';
```
6. Run the App

## Contact
- [Ariz Armeidi](https://github.com/ArizArmeidi/) | [Twitter](https://twitter.com/ArizArmeidi) | [Instagram](https://www.instagram.com/ariz.armeidi/)
- If you find the content of this repository useful and you have some extra money, you can donate to me through [PayPal](https://www.paypal.com/paypalme/arizarmeidi)

## License
Distributed under the MIT License. See `LICENSE` for more information.