toggleNode abstract method
- TreeSliverNode<
T> node
Switches the given TreeSliverNodes expanded state.
May trigger an animation to reveal or hide the node's children based on the TreeSliver.toggleAnimationStyle.
If the node does not have any children, nothing will happen.
Implementation
void toggleNode(TreeSliverNode<T> node);