工具:要让 Flutter 在你的开发环境中正常使用,依赖于以下的工具:Windows PowerShell 5.0 或者更高的版本。Git for Windows 2.x,并且勾选从 Windows 命令提示符使用 Git 选项。
Visual Studio not installed this is necessary for Windows development. Download at 见原文链接. Please install the “Desktop development with C++” workload, including all of its default components。
在 flutter 中,pubspec.yaml 也对应着这两个环境,如下:这里默认你已经创建一个 Flutter 项目,如果还不清楚如何创建,可以查阅本文 Flutter 系列 - 开始你的第一个应用。