TreeNodeData<T> class

Data container for rendering a tree node.

Holds all information needed to display a single tree node including its position, expansion state, and visual styling.

Constructors

TreeNodeData(List<TreeNodeDepth> depth, TreeNode<T> node, BranchLine indentGuide, bool expanded, bool expandIcon, void onFocusChanged(FocusChangeReason reason)?)
Creates a TreeNodeData with the specified properties.

Properties

depth List<TreeNodeDepth>
List of depth information from root to this node.
final
expanded bool
Whether this node is currently expanded.
final
expandIcon bool
Whether to show the expand/collapse icon.
final
hashCode int
The hash code for this object.
no setterinherited
indentGuide BranchLine
The branch line style for this node.
final
node TreeNode<T>
The tree node being rendered.
final
onFocusChanged → void Function(FocusChangeReason reason)?
Callback when focus changes for this node.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionPosition SelectionPosition?
Visual position of this node within a selection group.
getter/setter pair

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