TreeNode<T> class
A single node in a TreeView.
Constructors
Properties
-
children
→ List<
TreeNode< T> > -
Nested child nodes.
final
- hasChildren → bool
-
Whether this node has nested children.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Leading icon.
final
- isExpanded ↔ bool
-
Whether this node is currently expanded.
getter/setter pair
- label → String
-
Node title label.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailing → Widget?
-
Optional trailing widget (e.g. badge, count, action button).
final
- value → T?
-
Optional generic payload value.
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