expandNode method

  1. @override
void expandNode(
  1. TreeNode node
)

Expands node.

If the ancestors of node are collapsed, it will expand them too.

Implementation

@override
void expandNode(TreeNode node) {
  onAboutToExpand?.call(node);

  super.expandNode(node);
  notifyListeners();
}