dart链接地址https://gekorm.com/dart-windows/
安装成功-命令行 dart --version
版本:2.2.0
mac安装命令
brew tap dart-lang/dart
brew install dart
注意brew命令也要安装--
-------------------------
VScode开发工具
安装dart插件(3.0.0)
安装code runner (作用:运行dart文件)(0.11.0)
新建一个demo-index.dart(入口文件)
main(){
print('你好 dart');
}
右键运行Run code