dart_style library

Classes

DartFormatter
A Dart source code formatter.
SourceCode
Describes a chunk of source code that is to be formatted or has been formatted.

Enums

TrailingCommas
Configuration for how trailing commas should be handled by the formatter.

Exceptions / Errors

FormatterException
Thrown when one or more errors occurs while parsing the code to be formatted.
UnexpectedOutputException
Exception thrown when the internal sanity check that only whitespace changes are made fails.