之前是有安装包,但是环境没搭建好,使用命令:
git clone -b stable https://github.com/flutter/flutter.git
下载特别慢,所以查了一下,使用以下命令下载很快:
git clone https://github.com/flutter/flutter.git -b stable --depth 1
来源链接:https://www.jianshu.com/p/ae94889d1307