Home

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/>

<br/>

环境配置

[!] 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

运行

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

<br/>

打包

<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 版权©️

感谢