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