According to the official explanation Dart: If you only develop mobile applications, you do not need Dart SDK; simply install Flutter (Flutter which contains the Dart SDK).
1, download the sdk Flutter.
- The official download address is: https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v1.5.4-hotfix.2-stable.zip
- The storage.googleapis.com domestic domain name replaced storage.googleapis.com download it faster. storage.googleapis.com official address is a mirror for the Chinese developers to provide.
After downloading unzip to a folder you want to install. I extracted to disk G (G: \ flutter)
2, increased to the path environment variable.
- To increase the path environment variable: G: \ flutter \ bin.
- Use the command in PowerShell to check whether flutter doctor dependence has been fully installed. If not, you will be prompted to install.
3. Edit settings. (I use the idea)
3.1 Editor settings, you can go to this document: https://flutterchina.club/get-started/editor/
3.2, I used here idea, you need to install Flutter, Dart plug-ins:
- Flutter plug-in to support the process Flutter developers (run, debug, heat load, etc.)
- Dart plug-in code analysis (check the legality of the code, code completion, etc.) provides
3.3, to the idea of setting Flutter environment:
Reproduced in: https: //my.oschina.net/kunBlog/blog/3055993