搜索插件、代码仓与 APP 分类

GitHub 代码仓ArizArmeidi/FlutterWeather

FlutterWeather

使用 Flutter 和 Dart 创建的天气应用

FlutterWeather 项目封面
星标
337
复刻
112
最近推送(UTC)
2024年1月19日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

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.

Ariz Armeidi GitHub avatar
GitHub 作者

Ariz Armeidi ↗

Mobile App Developer specializing in Flutter and Dart

语言DartC++CMakeHTMLCSwiftKotlinObjective-C

分类

依赖Flutter组件

使用的依赖

依赖清单 15 项

App 分类

所在榜单

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗