Dart Mode is a major mode for editing Dart files in Emacs.
Add Marmalade to your
package-archivesif you don't already have it.
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)