TreeNodeSelectionChanged<T> typedef

TreeNodeSelectionChanged<T> = void Function(List<TreeNode<T>> selectedNodes, bool multiSelect, bool selected)

Callback invoked when tree node selection changes.

Parameters:

  • selectedNodes: The nodes affected by the selection change
  • multiSelect: Whether the operation allows multiple selection
  • selected: Whether the nodes are being selected (true) or deselected (false)

Implementation

typedef TreeNodeSelectionChanged<T> = void Function(
    List<TreeNode<T>> selectedNodes, bool multiSelect, bool selected);