getActiveIndexFor method
- TreeSliverNode<
Object?> node
Returns the current row index of the given TreeSliverNode.
If the node is not currently active in the tree, meaning its parent is collapsed, this will return null.
Implementation
int? getActiveIndexFor(TreeSliverNode<Object?> node) {
assert(_state != null);
return _state!.getActiveIndexFor(node);
}