onNodeToggle property
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;
Called when a TreeSliverNode expands or collapses.
This will not be called if a TreeSliverNode does not have any children.
final TreeSliverNodeCallback? onNodeToggle;