DiagnosticsTreeStyle enum

Styles for displaying a node in a DiagnosticsNode tree.

See also:

Constants

dense → const DiagnosticsTreeStyle

Slightly more compact version of the sparse style.

See also:

const DiagnosticsTreeStyle(3)
error → const DiagnosticsTreeStyle

Style for displaying content describing an error.

See also:

  • FlutterError, which uses this style for the root node in a tree describing an error.
const DiagnosticsTreeStyle(5)
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:

  • singleLine, which displays the same information but keeps the property and value on the same line.
const DiagnosticsTreeStyle(9)
flat → const DiagnosticsTreeStyle

Render the tree without indenting children at all.

See also:

const DiagnosticsTreeStyle(7)
none → const DiagnosticsTreeStyle

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

const DiagnosticsTreeStyle(0)
offstage → const DiagnosticsTreeStyle

Connects a node to its parent with a dashed line.

See also:

const DiagnosticsTreeStyle(2)
shallow → const DiagnosticsTreeStyle

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

See also:

  • DebugOverflowIndicator, which uses this style to display just the immediate children of a node.
const DiagnosticsTreeStyle(10)
singleLine → const DiagnosticsTreeStyle

Render the tree on a single line without showing children.

const DiagnosticsTreeStyle(8)
sparse → const DiagnosticsTreeStyle

Sparse style for displaying trees.

See also:

const DiagnosticsTreeStyle(1)
transition → const DiagnosticsTreeStyle

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

See also:

const DiagnosticsTreeStyle(4)
truncateChildren → const DiagnosticsTreeStyle

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

const DiagnosticsTreeStyle(11)
values → const List<DiagnosticsTreeStyle>

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

const List<DiagnosticsTreeStyle>
whitespace → const DiagnosticsTreeStyle

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

See also:

const DiagnosticsTreeStyle(6)

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited