GithubHelp home page GithubHelp logo

xyhuangjia / flutter_v2ex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guozhigq/flutter_v2ex

0.0 0.0 0.0 68.62 MB

使用flutter开发的v2ex客户端,支持Android和iOS设备。在Android 12+机型上支持Material You取色

License: MIT License

Ruby 0.63% C++ 2.94% C 0.19% Objective-C 0.01% Kotlin 0.02% Dart 92.95% Swift 0.35% HTML 0.42% CMake 2.50%

flutter_v2ex's Introduction


VVEX


使用 Flutter 开发的 V2ex 客户端

适配了Material You 样式

去下载


功能

开发计划 / 加入讨论组

  • 夜间模式
  • 动态主题
  • 自动签到
  • 高级搜索
  • 节点排序
  • @回复多人
  • 检测更新
  • 2FA验证登录
  • 回复保存为图片
  • 多类型消息提醒
  • 评论倒序查看
  • 快速返回顶部&刷新
  • base64 加密/解密
  • Signin with Google
  • 话题标记已读
  • 消息跳转至楼层
  • 图片上传
  • 数据缓存
  • 页面骨架屏
  • 适配Pad布局
  • markdown 格式发布主题

环境配置

[✓] Flutter (Channel stable, 3.16.4, on macOS 14.1.2 23B92 darwin-arm64, locale
    zh-Hans-CN)
[✓] 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 2022.3)
[✓] VS Code (version 1.85.1)
[✓] Connected device (3 available)
[✓] Network resources

运行

确保相关开发环境及代码编辑器正确配置

  • 终端运行

    • 进入项目根目录
    • 键入 flutter pub get 安装插件
    • 键入 flutter run 编译&运行项目至模拟器
  • 编辑器运行 - Android studio

    • 安装 dart&flutter 相关插件
    • 点击顶部工具栏 绿色按钮(确保 main.dart 显示为 flutter logo)
  • 编辑器运行 - VSCode

    • 安装 dart&flutter 相关插件
    • 打开 lib -> main.dart 文件
    • 确保底部状态栏显示正确的设备,点击顶部工具栏下箭头 -> Start Debugging

打包

执行 flutter build apk/ios

打包前在 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';
};

授权@24 版权©️

感谢

  • V2LF : 很多思路借鉴了 V2LF, 感谢 🙏
  • sov2ex : 一个便捷的 V2EX 站内搜索引擎,搜索功能基于此实现,感谢🙏

flutter_v2ex's People

Contributors

guozhigq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.