【文件属性】:
文件名称:Flutter-Weather:使用Flutter的Weather App
文件大小:1.82MB
文件格式:ZIP
更新时间:2021-05-13 19:21:49
Dart
颤抖的天气
Flutter应用程序可查看当前的天气状况。
从下载应用程序
特征
:check_mark_button: 美丽的最小UI
:check_mark_button: 黑暗与光明主题
:check_mark_button: 当前温度,最高和最低温度,日落,日出
:check_mark_button: 每种天气情况的自定义图标
:check_mark_button: 5天预报
:check_mark_button: 精美的动画过渡
:check_mark_button: API调用的BLoC模式
:check_mark_button: 线图显示温度变化
入门
先决条件
扑
正在安装
API密钥
在lib/src/api/创建一个名为api_keys.dart的文件
使用其中的openweathermaps API密钥ApiKey一个名为ApiKey的类。
例如:
class ApiKey {
static const OPEN_WEATHER_MAP = 'your_key';
}
致谢
【文件预览】:
Flutter-Weather-master
----ios()
--------Runner.xcworkspace()
--------Podfile(2KB)
--------Podfile.lock(2KB)
--------Flutter()
--------Runner()
--------Runner.xcodeproj()
----android()
--------gradle.properties(81B)
--------app()
--------gradle()
--------settings.gradle(484B)
--------build.gradle(471B)
----flutter_native_splash.yaml(89B)
----test()
--------widget_test.dart(51B)
----assets()
--------images()
----fonts()
--------weathericons-regular.ttf(97KB)
----screenshots()
--------ios_chart.gif(341KB)
--------ios.gif(1.25MB)
--------android.png(66KB)
----.metadata(128B)
----pubspec.lock(6KB)
----.gitignore(1KB)
----pubspec.yaml(1KB)
----lib()
--------src()
--------main.dart(3KB)
----README.md(1KB)