FormatterOptions class final

A set of options related to the formatter that apply to the code within a single analysis context.

Constructors

FormatterOptions({int? pageWidth, TrailingCommas? trailingCommas})

Properties

hashCode → int
The hash code for this object.
no setterinherited
pageWidth → int?
The width configured for where the formatter should wrap code.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trailingCommas → TrailingCommas?
How trailing commas in various constructs should affect formatting.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited