onNodeToggle property

TreeSliverNodeCallback? onNodeToggle
final

Called when a TreeSliverNode expands or collapses.

This will not be called if a TreeSliverNode does not have any children.

Implementation

final TreeSliverNodeCallback? onNodeToggle;