参考
flutter中文网
https://flutterchina.club/setup-windows/
1.使用镜像访问flutter sdk
windows
PUB_HOSTED_URL https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL https://storage.flutter-io.cn
2.下载sdk
https://flutter.dev/docs/development/tools/sdk/releases#windows
3.设置flutter环境变量
计算机->环境变量->path
;C:\flutter\bin;
4.sdk环境升级
cmd控制台->
flutter upgrade
5.VS code flutter开发环境安装
6.运行Flutter项目
原文:https://www.cnblogs.com/yang6/p/11386037.html