TreeRow<T> class final

One projected row in an interactive tree.

Constructors

TreeRow({required TreeItem<T> item, required int depth, required String prefix, required String connector, required String? parentId, required bool isExpanded, required bool isSelected})
const

Properties

connector → String
Branch connector for this row, or an empty string for root rows.
final
depth → int
Zero-based nesting depth.
final
hashCode → int
The hash code for this object.
no setterinherited
isExpanded → bool
Whether this row currently exposes its children.
final
isSelected → bool
Whether this is the model's selected row.
final
item → TreeItem<T>
Source item represented by this row.
final
parentId → String?
Parent item ID, or null for root rows.
final
prefix → String
Continuation indentation before connector.
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() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited