IntelliJ IDEA 2019.3 Help

Code Style. Dart

In IntelliJ IDEA, Dart code is formatted using the dartfmt tool that has become an industry standard and is a part of the Dart SDK, see also the dart_style package documentation. The only configurable option is line length. By default, lines are 80 characters long. You can specify a custom value in the Line length field.

Learn more from Frequently Asked Questions about Dart Formatter.

Last modified: 20 March 2020