unitone_task

FlutterWeather

A simple weather App created using Flutter and Dart and using API from OpenWeatherMap

Features

  • Automatically acquire user current location
  • Searchable location
  • Hourly weather information
  • 7 days weather information

How to Run

  1. Create an account at OpenWeatherMap.
  2. Then get your API key from https://home.openweathermap.org/api_keys.
  3. Clone the repo
    git clone https://github.com/ArizArmeidi/FlutterWeather.git
  4. Install all the packages by typing
    flutter pub get
  5. Navigate to lib/provider/weatherProvider.dart and paste your API key to the apiKey variable
    String apiKey = 'Paste Your API Key Here';
  6. Run the App