{"id":23897933,"url":"https://github.com/byteszero/weather_flutter","last_synced_at":"2026-03-09T22:03:17.516Z","repository":{"id":85309141,"uuid":"134943999","full_name":"BytesZero/weather_flutter","owner":"BytesZero","description":"一款 Flutter 天气的 App，这个项目是我学习 Flutter 时的编写的一个实战 App，非常适合入门学习 Flutter","archived":false,"fork":false,"pushed_at":"2021-04-22T04:02:55.000Z","size":262,"stargazers_count":35,"open_issues_count":1,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T17:19:14.355Z","etag":null,"topics":["android","dart","flutter-apps","ios"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BytesZero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-26T08:35:40.000Z","updated_at":"2025-03-09T11:58:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"42ecc6ca-b829-42e7-b329-93040f4a4fbd","html_url":"https://github.com/BytesZero/weather_flutter","commit_stats":null,"previous_names":["byteszero/weather_flutter"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/BytesZero/weather_flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Fweather_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Fweather_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Fweather_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Fweather_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BytesZero","download_url":"https://codeload.github.com/BytesZero/weather_flutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Fweather_flutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30314406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","dart","flutter-apps","ios"],"created_at":"2025-01-04T17:19:13.926Z","updated_at":"2026-03-09T22:03:17.497Z","avatar_url":"https://github.com/BytesZero.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weather-flutter\n\n一款 Flutter 天气的 App，这个项目是我学习 Flutter 时的编写的一个实战 App，非常适合入门学习 Flutter\n\n### 功能\n\n- 首页（支持下拉刷新）\n\n - 首页显示天气和动态背景图\n - 首页显示今天详细气温数据\n - 首页显示未来24小时天气（支持横向滑动）\n\n- 一周天气（支持下拉刷新）\n\n - 未来 7 天天气列表（使用``Container decoration``绘制Divider）\n\n### 预览图\n\n\u003cp\u003e\u003cimg width=\"375\" alt=\"weather_home\" src=\"https://user-images.githubusercontent.com/8764899/40638228-a3441402-633c-11e8-9dce-c0943704054d.png\"\u003e\n\u003cimg width=\"375\" alt=\"weather_week_list\" src=\"https://user-images.githubusercontent.com/8764899/40638229-a375f30a-633c-11e8-9933-a3cfddd1cc67.png\"\u003e\u003c/p\u003e\n\n### 运行项目\n\n- #### Flutter `\u003e=2.0` 版本\n\n请下载或克隆后切换到 `flutter2.0` 分支\n\n``` shell\ncd weather_flutter\ngit checkout flutter2.0\nflutter run\n```\n\n- #### Flutter `1.12.x` ~ `1.22.6` 版本\n\n直接是用 `master` 分支即可\n\n``` shell\ncd weather_flutter\nflutter run\n```\n\n- #### Flutter `\u003c 1.12.x` 版本\n\n请下载或克隆后切换到 `old_version` 分支\n\n``` shell\ncd weather_flutter\ngit checkout old_version\nflutter run\n```\n\n### 模拟数据\n\n因原天气接口停止服务，现添加了模拟数据，存放与项目的 `JSON` 文件\n\n- [获取当前城市天气情况](https://github.com/yy1300326388/weather_flutter/blob/master/api/weather_now.json)\n- [获取未来一周天气情况](https://github.com/yy1300326388/weather_flutter/blob/master/api/weather_future.json)\n\n### 关注我\n\n- 遇到问题可以找我帮助解决（联系方式在 [`GitHub`](https://github.com/yy1300326388) 主页）\n- 持续分享优质的 `Flutter` 文章和视频\n- 不定期分享 `Flutter` 开发小技巧\n- 百万级 `Flutter` 应用架构经验\n\n\u003cp\u003e\n  \u003ca href=\"https://github.com/yy1300326388\"\u003e\n    \u003cimg width=\"200\" alt=\"github\" src=\"https://raw.githubusercontent.com/yy1300326388/yy1300326388/main/images/follow/github_follow.png\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://juejin.cn/user/764915820276439\"\u003e\n    \u003cimg width=\"200\" alt=\"juejin\" src=\"https://raw.githubusercontent.com/yy1300326388/yy1300326388/main/images/follow/juejin_follow.png\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://space.bilibili.com/1698847208\"\u003e\n    \u003cimg width=\"200\" alt=\"csdn\" src=\"https://raw.githubusercontent.com/yy1300326388/yy1300326388/main/images/follow/bilibili_follow.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteszero%2Fweather_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteszero%2Fweather_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteszero%2Fweather_flutter/lists"}