TreeViewSelectionChangedCallback typedef

TreeViewSelectionChangedCallback = Future<void> Function(Iterable<TreeViewItem> selectedItems)

A callback that receives a notification that the selection state of a TreeView has changed.

Used by TreeView.onSelectionChanged

Implementation

typedef TreeViewSelectionChangedCallback = Future<void> Function(
  Iterable<TreeViewItem> selectedItems,
);