isActive abstract method

bool isActive(
  1. TreeSliverNode<T> node
)

Returns whether or not the given TreeSliverNode is enclosed within its parent TreeSliverNode.

If the TreeSliverNode.parent isExpanded (and all its parents are expanded), or this is a root node, the given node is active and this method will return true. This does not reflect whether or not the node is visible in the Viewport.

Implementation

bool isActive(TreeSliverNode<T> node);