Styles for displaying a node in a DiagnosticsNode tree.

See also:

Constants

dense DiagnosticsTreeStyle

Slightly more compact version of the sparse style.

See also:

Element, which uses this style.

const DiagnosticsTreeStyle(2)
offstage DiagnosticsTreeStyle

Connects a node to its parent with a dashed line.

See also:

RenderSliverMultiBoxAdaptor, which uses this style to distinguish offstage children from onstage children.

const DiagnosticsTreeStyle(1)
singleLine DiagnosticsTreeStyle

Render the tree on a single line without showing children.

const DiagnosticsTreeStyle(5)
sparse DiagnosticsTreeStyle

Sparse style for displaying trees.

See also:

RenderObject, which uses this style.

const DiagnosticsTreeStyle(0)
transition DiagnosticsTreeStyle

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

See also:

RenderParagraph, which uses this style to display a TextSpan child in a way that is compatible with the DiagnosticsTreeStyle.sparse style of the RenderObject tree.

const DiagnosticsTreeStyle(3)
values List<DiagnosticsTreeStyle>

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

const List<DiagnosticsTreeStyle>
whitespace DiagnosticsTreeStyle

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

See also:

SliverGeometry, which uses this style.

const DiagnosticsTreeStyle(4)

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

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

Operators

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