Awesome
<div align=center><img src="https://github.com/guozhigq/flutter_v2ex/blob/main/assets/images/icon/icon_android.png" width="200" height="200"></img></div> <br/> <div align="center"> <h1>VVEX</h1> <div align="center"> <img alt="GitHub" src="https://img.shields.io/badge/Flutter-3.16.4-success?style=flat&logo=flutter"> <img alt="GitHub" src="https://img.shields.io/badge/Java-11.0.15-green?style=flat"> <a target="_blank" href="https://github.com/guozhigq/flutter_v2ex/releases"> <img alt="Version" src="https://img.shields.io/github/v/release/guozhigq/flutter_v2ex?color=c3e7ff&label=version&style=flat"> </a> </div> <br/> <p>使用 Flutter 开发的 <a target="_blank" href="https://www.v2ex.com/">V2ex</a> 客户端</p> <p>适配了<a target="_blank" href="https://m3.material.io/">Material You</a> 样式</p> <a target="_blank" href="https://github.com/guozhigq/flutter_v2ex/releases">去下载</a> <br/> <br/> <img src="https://raw.githubusercontent.com/guozhigq/flutter_v2ex/main/assets/preview/preview_1.png" width="49%"></img> <img src="https://files.catbox.moe/kpuks8.png" width="49%"></img> <img src="https://files.catbox.moe/dkf8qt.png" width="49%"></img> <img src="https://files.catbox.moe/xij4ov.png" width="49%"></img> </div> <br/>功能
开发计划 / <a target="_blank" href="https://t.me/+lm_oOVmF0RJiODk1">加入讨论组</a> <br/>
- 夜间模式
- 动态主题
- 自动签到
- 高级搜索
- 节点排序
- @回复多人
- 检测更新
- 2FA验证登录
- 回复保存为图片
- 多类型消息提醒
- 评论倒序查看
- 快速返回顶部&刷新
- base64 加密/解密
- Signin with Google
- 话题标记已读
- 消息跳转至楼层
- 图片上传
- 数据缓存
- 页面骨架屏
- 适配Pad布局
- markdown 格式发布主题
环境配置
[!] Flutter (Channel [user-branch], 3.24.4, on macOS 14.6.1 23G93 darwin-arm64,
locale zh-Hans-CN)
! Flutter version 3.24.4 on channel [user-branch] at
/Users/rr/Documents/sdk/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an
official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions
at https://flutter.dev/setup.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss
this error.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.95.1)
[✓] Connected device (4 available)
[✓] Network resources
运行
确保相关开发环境及代码编辑器正确配置
-
终端运行
- 进入项目根目录
- 键入 flutter pub get 安装插件
- 键入 flutter run 编译&运行项目至模拟器
-
编辑器运行 - Android studio
- 安装 dart&flutter 相关插件
- 点击顶部工具栏 绿色按钮(确保 main.dart 显示为 flutter logo)
-
编辑器运行 - VSCode
- 安装 dart&flutter 相关插件
- 打开 lib -> main.dart 文件
- 确保底部状态栏显示正确的设备,点击顶部工具栏下箭头 -> Start Debugging
打包
<strong>执行 flutter build apk/ios</strong>
打包前在 lib/http/init.dart 中关闭代理
client.findProxy = (uri) {
// proxy all request to localhost:8888
// return 'PROXY 192.168.1.60:7890';
// return 'PROXY 172.16.32.186:7890';
// return 'PROXY localhost:7890';
// return 'PROXY 127.0.0.1:7890';
// 不设置代理 TODO 打包前关闭代理
return 'DIRECT';
};
<br/>
授权@24 版权©️