1.下载Flutter sdk
2. 环境变量配置
1.用户变量里面配置
key:FLUTTER_STORAGE_BASE_URL
value:https://storage.flutter-io.cn
key:PUB_HOSTED_URL
value:https://pub.flutter-io.cn
2.系统环境变量里面 Path下配置 flutter bin的地址:
D:\fluttersdk\flutter_windows_1.17.5-stable\flutter\bin
3. 配置完后打开cmd检查是否配置成功
这样就表示可以了