dart lang 开发环境

========================
Dart SDK 下载
========================
Dart SDK 主页: https://dart.dev/tools
Dart SDK 分为三种应用类型:
1. Mobile 类型, 不需要安装 Dart SDK, 直接安装 Flutter 即可
2. Web 类型, 开发web服务器
3. Server or command line类型, 通用Server或命令行应用类型,

学习 Dart 语言, 最好是选择第三种类型的SDK了,

------------------------------------------
Windows 下 Dart SDK安装
------------------------------------------
使用 Chocolatey 安装, 下面是安装最新稳定版本的命令
choco install dart-sdk
choco install dart-sdk -version 2.4.0

使用社区提供的 installer 安装, 这是一个在线安装程序
http://www.gekorm.com/dart-windows


========================
IDE 开发环境
========================
1. Eclipse : dart 官方貌似已经不提供 Eclipse 插件了, 社区提供了 dartboard 插件, 我没有用过. https://marketplace.eclipse.org/content/dartboard
2. Android Studio, dart 官方貌似推荐这个IDE, 有专门的插件.
3. Visual Studio Code , dart 官方貌似也推荐这个, 有一个名为 dart 的插件, 再配合社区提供的 Code runner插件, 使用很方便.


------------------------------------------
使用 dart pub 包管理器安装第三方包
------------------------------------------
> pub global activate webdev
> pub global activate stagehand

Dart Server开发环境搭建及新建运行项目
https://blog.csdn.net/jay100500/article/details/88564129
Dart Web开发环境搭建及新建运行项目
https://blog.csdn.net/jay100500/article/details/88562450#2__70

猜你喜欢

转载自www.cnblogs.com/harrychinese/p/dart-dev-env.html
今日推荐