TreeController<NodeData extends Object> class

Constructors

TreeController({NodeData? tree, required ChildrenProvider<NodeData> childrenProvider, ExpandProvider<NodeData> expandProvider = kDefaultExpandProvider})

Properties

childrenProvider → ChildrenProvider<NodeData>
A function to get children from current node, return null when current is a leaf node.
final
expandProvider → ExpandProvider<NodeData>
A function to determine whether a node is expanded.
final
hashCode → int
The hash code for this object.
no setterinherited
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
updateTree(NodeData tree) → void

Operators

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