Skip to content
项目

关于

Weather app created using Flutter and Dart

开发工具

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

FlutterWeather

Updated to Flutter 3.0 & New Updated Design

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

New Design Inspired by Rina Damayanti on Dribbble.

API Docs

[!IMPORTANT] This project uses version 2.5 of the OpenWeatherMap API
API used in this project:

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.

    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
    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

Contact

License

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

探索相关项目

加载中…