安装插件 dart image.png 新建dart文件 编写代码 void main() { print('hello world'); } 上面有个Run按钮,点击运行main() image.png 在下面控制台,显示结果: image.png