Skip to content

SamadiPour/Weather-Man

Repository files navigation

Weather-Man

Weather App with darksky api to view current weather status in flutter

Download Built APK from here

📷 Screenshots

😇 Features

  • Beautiful UI
  • Dark Mode
  • Current weather: current temperature, max and min temperature, humidity, pressure, wind
  • Weather forecast for 7 days
  • Weather forecast for 24 hours
  • Precipitation Chance chart
  • Current Weather icon animation
  • Weather based on location
  • Google map showing lat & lng
  • On and Off switch for widgets
  • Offline database of city names
  • Flag of each city
  • Reverse GeoCoding Info

✊ Getting Started

Prerequisites

  • Flutter
  • Dart Sdk
  • Google Maps API Key
  • geonames.org API Key
  • darksky.net API Key

API Keys

Google API

Go to here and create new project if you don't have
then enable Google Maps for Android & Google Maps for IOS
then get the api key and follow below steps

  • Android open AndroidManifest.xml in android\app\src\main
    find this line:
<meta-data android:name="com.google.android.geo.API_KEY"
            android:value="YOUR_API_KEY"/>

replace your key with YOUR_API_KEY

  • IOS open AppDelegate.m in ios\Runner find this line:
[GMSServices provideAPIKey:@"YOUR_API_KEY"];

replace your key with YOUR_API_KEY

Darksky API

Get Api from here
open ApiKey.dart in lib\Utilities then find this line:

static const DARK_SKY_API = 'YOUR_API_KEY';

replace your key with YOUR_API_KEY

Geocoding API

Get Api from here (Register first. Your api key is your username!)
open ApiKey.dart in lib\Utilities then find this line:

static const GEO_NAMES_API = 'YOUR_API_KEY';

replace your key(Username) with YOUR_API_KEY

❤️ Credits