isExpanded method
Whether the given TreeViewNode built with this controller is in an expanded state.
See also:
- expandNode, which expands a given TreeViewNode.
- collapseNode, which collapses a given TreeViewNode.
- TreeView.controller to create an TreeView with a controller.
Implementation
bool isExpanded(TreeViewNode<Object?> node) {
assert(_state != null);
return _state!.isExpanded(node);
}