TreeRow<T> class
One row produced by flattening the tree for the current expansion / filter state. Carries everything the view needs to paint a single line, including the ancestor "has a following sibling" flags used to draw the indent guide-lines (│ ├ └).
- Annotations
Constructors
Properties
-
ancestorHasNext
→ List<
bool> -
For each ancestor depth, whether that ancestor has a following sibling —
i.e. whether to draw a continuing vertical guide at that column.
final
- depth → int
-
Nesting depth (0 for roots).
final
- expanded → bool
-
Whether this node is currently expanded (only meaningful for folders).
final
- hasChildren → bool
-
Whether the node has children to disclose.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLast → bool
-
Whether the node is the last among its visible siblings (└ vs ├).
final
-
node
→ TreeNode<
T> -
final
- runtimeType → Type
-
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(
) → TreeNodeId -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited