公众号 | 掘金 | 知乎 | CSDN | 简书 |
---|---|---|---|---|
GSYTech | 点我 | 点我 | 点我 | 点我 |
基于Flutter开发,适配 Android 与 iOS。
项目的目的是为方便个人日常维护和查阅Github,更好的沉浸于码友之间的互基,Github就是你的家。
项目同时适合Flutter的练手学习,覆盖了各种框架的使用,与原生的交互等。
随着项目的使用情况和反馈,将时不时根据更新并完善用户体验与功能优化吗,欢迎提出问题。
因为是偏学习项目,所以项目里会有各式各样的模式、库、UI等,请不要介意
1、 TrendPage : 目前采用纯 bloc 的 rxdart(stream) + streamBuilder 模式效果
2、 Scoped Model:目前在 RepositoryDetailPage 出使用
3、 Redux:目前在 MyPage ,UserInfo、Theme、Localization 等上面使用。
4、 LoginPage:另类的 BLoC 模式。
5、 ReposDao.getRepositoryDetailDao 使用 graphQL
列表显示有多个,其中:
1、gsy_pull_load_widget.dart.dart
common_list_page.dart 等使用,搭配 gsy_list_state.dart 使用
2、gsy_pull_new_load_widget.dart.dart
dynamic_page.dart 等使用,搭配 gsy_bloc_list_state.dart 使用
有 iOS 和 Android 两种风格下拉风格支持
3、gsy_nested_pull_load_widget.dart
trend_page.dart 等使用,配置sliver 效果
1、配置好Flutter开发环境(目前Flutter SDK 版本 3.16),可参阅 【搭建环境】。
2、clone代码,执行Packages get
安装第三方包。(因为某些不可抗力原因,国内可能需要设置代理: 代理环境变量)
3、重点:你需要自己在lib/common/config/目录下 创建一个
ignoreConfig.dart
文件,然后输入你申请的Github client_id 和 client_secret。
class NetConfig {
static const CLIENT_ID = "xxxx";
static const CLIENT_SECRET = "xxxxxxxxxxx";
}
注册 Github APP 传送门,当然,前提是你现有一个github账号(~ ̄▽ ̄)~ 。
gsygithubapp://authed
1、本地 Flutter SDK 版本 3.16 ; 2、是否执行过
flutter pub get
;3、 网络等问题参考: 如果出现登陆失败或者请求失败
类型 | 二维码 |
---|---|
Apk二维码 | |
iOS暂无下载 |
如果包同步失败,一般都是因为没设置包代理,可以参考:环境变量问题
当前 Flutter SDK 版本 3.16
库 | 功能 |
---|---|
dio | 网络框架 |
shared_preferences | 本地数据缓存 |
fluttertoast | toast |
flutter_redux | redux |
device_info | 设备信息 |
connectivity | 网络链接 |
flutter_markdown | markdown解析 |
json_annotation | json模板 |
json_serializable | json模板 |
url_launcher | 启动外部浏览器 |
iconfont | 字库图标 |
share | 系统分享 |
flutter_spinkit | 加载框样式 |
get_version | 版本信息 |
flutter_webview_plugin | 全屏的webview |
sqflite | 数据库 |
flutter_statusbar | 状态栏 |
flutter_svg | svg |
photo_view | 图片预览 |
flutter_slidable | 侧滑 |
flutter_cache_manager | 缓存管理 |
path_provider | 本地路径 |
permission_handler | 权限 |
scope_model | 状态管理和共享 |
lottie | svg动画 |
flare | 路径动画 |
CarGuo/GSYGithubAppFlutter is licensed under the
Apache License 2.0
A permissive license whose main conditions require preservation of copyright and license notices.
Contributors provide an express grant of patent rights.
Licensed works, modifications, and larger works may be distributed under different terms and without source code.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。