一、镜像配置:
1、FLUTTER_STORAGE_BASE_URL https://storage.flutter-io.cn
2、PUB_HOSTED_URL https://pub.flutter-io.cn
二、Flutter SDK下载:
git clone -b stable https://github.com/flutter/flutter.git
也可以直接取官网下载然后解压
三、配置Fluter SDK环境变量
四、检查flutter所需环境
cmd窗口:flutter doctor -v
五、flutter IDE
我选用的是Android Studio,也可以用VS 等其他IDE
设置里面下载Flutter插件,重启 |