为了团队以及各位朋友们更方便、快速地获取Flutter工具及其仓库更新,我们在Git蔚然创建了Flutter以及Flutter_Web,Flutter_Desktop镜像仓库,每隔1小时同步一次,相关使用方式如下。

获取Flutter

Flutter是构建Flutter项目的主要工具,进行Flutter开发必备,可构建Android & Ios App。

git clone -b stable https://git.weiran.org.cn/WeFlutter/flutter.git //获取Flutter稳定版
git clone -b beta https://git.weiran.org.cn/WeFlutter/flutter.git //获取Flutter beta版
git clone -b dev https://git.weiran.org.cn/WeFlutter/flutter.git //获取Flutter开发版
git clone -b master https://git.weiran.org.cn/WeFlutter/flutter.git //获取Flutter预览(实时)版

获取Flutter Desktop Embedding

该工具用于构建桌面版Flutter,目前处于开发阶段,可构建 Windiws&Mac OS &Linux App。

git clone -b master https://git.weiran.org.cn/WeFlutter/flutter-desktop-embedding.git

获取Flutter Web

该工具用于构建Web版Flutter,目前只支持Flutter核心库,处于开发&测试阶段。

git clone -b staging https://git.weiran.org.cn/WeFlutter/flutter_web.git //获取项目demo

DEMO使用方法:

  • 执行 flutter pub global activate webdev //安装Webdev工具
  • 在examples/demo目录执行 flutter packages upgrade
  • 执行 flutter pub global run webdev serve //启动项目

详细步骤参照:https://git.weiran.org.cn/WeFlutter/flutter_web/src/branch/master/README.md


0 条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注