dart_style library
Classes
- DartFormatter
- Dart source code formatter.
- SourceCode
- Describes a chunk of source code that is to be formatted or has been formatted.
- StyleFix
- Enum-like class for the different syntactic fixes that can be applied while formatting.
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.