FlTreeNode class

A tree component that displays hierarchical data in a tree structure. It supports features like checkboxes, node expansion, and drag-and-drop.

Constructors

FlTreeNode({required String label, dynamic value, List<FlTreeNode>? children, bool disabled = false, bool isLeaf = false, Widget? icon})
const

Properties

children List<FlTreeNode>?
The child nodes of this node.
final
disabled bool
Whether this node is disabled.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
A custom icon widget to display before the node label.
final
isLeaf bool
Whether this node is a leaf node.
final
label String
The label text to display for this node.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value associated with this node.
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