TreeController class
A controller for a tree state.
Allows to modify the state of the tree.
Constructors
- TreeController({dynamic allNodesExpanded = true})
Properties
- allNodesExpanded → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collapseAll(
) → void -
collapseNode(
Key key) → void -
expandAll(
) → void -
expandNode(
Key key) → void -
isNodeExpanded(
Key key) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggleNodeExpanded(
Key key) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited