CloseBracketConfig class

Configuration for bracket closing behavior.

Constructors

CloseBracketConfig({List<String> brackets = const ['(', '[', '{', "'", '"'], String before = ')]}:;>', List<String> stringPrefixes = const []})
const

Properties

before String
Characters in front of which newly opened brackets are automatically closed. Closing always happens in front of whitespace. Defaults to ")]}:;>".
final
brackets List<String>
The opening brackets to close. Defaults to ["(", "[", "{", "'", '"']. Brackets may be single characters or a triple of quotes (as in "'''").
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringPrefixes List<String>
When determining whether a given node may be a string, recognize these prefixes before the opening quote.
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