跳转到内容
跳到正文

开始使用

源码仓库:SongJiaqiang/Evo

需要已安装 Flutter。macOS 上还需要 Xcode 命令行工具;Android 则需要 Android SDK。

安装过程也可以参考博客:安装 Flutter

Terminal window
git clone https://github.com/SongJiaqiang/Evo.git
cd Evo
flutter pub get
flutter run

如果连接了多台设备,指定设备 id:

Terminal window
flutter run -d <deviceId>

iOS 真机需要在 ios/Runner.xcworkspace 里配置签名。

主界面用 TabController 做成两屏滑动,开发记录在 Evo 实践文章 里。