TreeRow class

A class representing a node in a tree row

Constructors

TreeRow({int level = 0, int maxLevel = 0, required Object uniqueKey, List<int> pathIndexes = const [], required List<TreeRow> rows, required ValueNotifier<bool> isExpanded, double height = 51, required List<TreeColumn> columns, TreeRowNode? sourceNode, ValueNotifier<bool>? childrenLoaded, ValueNotifier<bool>? childrenLoading})
Creates a new instance of TreeRow

Properties

childrenLoaded ValueNotifier<bool>
Whether the children have been built/loaded
final
childrenLoading ValueNotifier<bool>?
Whether an asynchronous child request is in progress.
final
columns List<TreeColumn>
The list of columns in the node
final
hashCode int
The hash code for this object.
no setterinherited
height double
The height of this row.
getter/setter pair
isExpanded ValueNotifier<bool>
Whether the node is expanded or not
final
level int
Depth of this row in the tree, where root rows use level zero.
final
maxLevel int
Maximum tree depth used when the row widgets were built.
getter/setter pair
pathIndexes List<int>
Stable indexes from the page root to this row.
final
rows List<TreeRow>
The list of child nodes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceNode TreeRowNode?
The original TreeRowNode data for lazy loading children
getter/setter pair
uniqueKey Object
A unique identifier key for this object.
final

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