title | description | permalink | show_breadcrumbs | toc |
---|---|---|---|---|
Tools |
The tools that support the Dart language. |
/tools |
false |
false |
This page discusses tools that are useful with multiple Dart technologies.
DartPad is a great way to learn Dart syntax and to experiment with Dart language features and core libraries (except for dart:io and libraries that depend on dart:io).
To write code that uses other libraries and features, you need an SDK. We also recommend using an IDE.
Dart plugins exist for many commonly used IDEs. If you're writing web apps and don't already have a favorite IDE, try WebStorm, which comes with Dart support.
The following Dart plugins are unsupported and available as open source:
**Note:** Two previous options, Dart Editor and the Eclipse Plugin for Dart, are no longer maintained.Which SDK you need depends on what type of app you're developing.
|------------------------+----------+-------------------------------------| | App type | SDK | Download instructions | More information | |--------------------------|------------------------------------------------| | Web app | Dart | Install Dart and Dartium | Dart SDK, Dart Tools for the Web | | Script or server | Dart | Install Dart | Dart SDK, Dart VM Tools | | Mobile app | Flutter | Flutter Setup | flutter.io | {:.table .table-striped}
{% include dartium-2.0.html %}
{% comment %} update-for-dart-2 {% endcomment %}
Most Dart-related SDKs include the following tools.
Pub package manager
: Manages Dart packages,
making it easy for you to install, use, and share Dart libraries,
command-line tools, and other assets.
Some Dart technologies, such as Flutter, may not support
all of the pub commands.
IDEs that support Dart generally have special support for pub,
but you can also use it from the command line (pub
).
Static analyzer
: Evaluates and reports any errors or warnings in your code.
The Dart plugin for your IDE should make use of Dart's analysis engine,
but you can also run the analyzer from the command line (dartanalyzer
).
Code formatter
: Formats your code, following the recommendations of the
Dart Style Guide.
IDEs that support Dart generally allow you to format the code within
the IDE. Or you can run the formatter from the command line (dartfmt
).
For details about these and many other tools, see the tools documentation for the SDK you're using: