A formatter for Dart.
Like dartfmt.
But better ;)
Because it's configurable.
To format the active file / the currently selected folders and files, press the following:
Ctrl/Command
+Alt
+,
to format only Dart files
Ctrl/Command
+Alt
+L
to format all file types*
* uses the built-in formatter for non-Dart files
Download the plugin from JetBrains marketplace:
https://plugins.jetbrains.com/plugin/21003-dartformat
Source code: https://github.com/eggnstone/DartFormatJetbrainsPlugin
Also available for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=eggnstone.DartFormat
Source code: https://github.com/eggnstone/DartFormatVSCodePlugin
External dart_format package:
https://pub.dev/packages/dart_format
Source code: https://github.com/eggnstone/dart_format