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