TreeSliverNodeCallback typedef
Signature for a function that is called when a TreeSliverNode is toggled, changing its expanded state.
See also:
- TreeSliver.onNodeToggle, for controlling node expansion programmatically.
Implementation
typedef TreeSliverNodeCallback = void Function(TreeSliverNode<Object?> node);