WebStorm 2023.2 Help

Code Style. Dart

In WebStorm, 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: 26 June 2023