DiagnosticsTreeStyle enum - foundation library (original) (raw)

Styles for displaying a node in a DiagnosticsNode tree.

In release mode, these styles may be ignored, as diagnostics are compacted or truncated to save on binary size.

See also:

Inheritance

Available extensions

Values

none → const DiagnosticsTreeStyle

A style that does not display the tree, for release mode.

sparse → const DiagnosticsTreeStyle

Sparse style for displaying trees.

See also:

offstage → const DiagnosticsTreeStyle

Connects a node to its parent with a dashed line.

See also:

dense → const DiagnosticsTreeStyle

Slightly more compact version of the sparse style.

See also:

transition → const DiagnosticsTreeStyle

Style that enables transitioning from nodes of one style to children of another.

See also:

error → const DiagnosticsTreeStyle

Style for displaying content describing an error.

See also:

whitespace → const DiagnosticsTreeStyle

Render the tree just using whitespace without connecting parents to children using lines.

See also:

flat → const DiagnosticsTreeStyle

Render the tree without indenting children at all.

See also:

singleLine → const DiagnosticsTreeStyle

Render the tree on a single line without showing children.

errorProperty → const DiagnosticsTreeStyle

Render the tree using a style appropriate for properties that are part of an error message.

The name is placed on one line with the value and properties placed on the following line.

See also:

shallow → const DiagnosticsTreeStyle

Render only the immediate properties of a node instead of the full tree.

See also:

truncateChildren → const DiagnosticsTreeStyle

Render only the children of a node truncating before the tree becomes too large.

Properties

hashCodeint

The hash code for this object.

no setterinherited

indexint

A numeric identifier for the enumerated value.

no setterinherited

nameString

Available on Enum, provided by the EnumName extension

The name of the enum value.

no setter

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

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

Constants

values → const List<DiagnosticsTreeStyle>

A constant List of the values in this enum, in order of their declaration.