TreeViewItemOnExpandToggle typedef

TreeViewItemOnExpandToggle = Future<void> Function(TreeViewItem item, bool getsExpanded)

A callback that receives a notification that the expansion state of an item has been toggled.

Used by TreeView.onItemExpandToggle

Implementation

typedef TreeViewItemOnExpandToggle = Future<void> Function(
  TreeViewItem item,
  bool getsExpanded,
);