git clone 'git://github.com/nex3/dart-mode.git'
Dart Mode is a major mode for editing Dart files in Emacs.
Add both MELPA and
Marmalade to your
package-archives if you don't already have them.
Install dart-mode via:
M-x package-refresh-contents [RET]
M-x package-install [RET] dart-mode
OPTIONAL: To enable on-the-fly syntax checking, add the
following to your
(setq dart-enable-analysis-server t)
(add-hook 'dart-mode-hook 'flycheck-mode)