onExpandToggle property
Called when this item's expansion state is toggled.
This item and its future expand state are passed to the callback.
This callback is executed after the global TreeView.onItemExpandToggle-callback.
Implementation
final TreeViewItemOnExpandToggle? onExpandToggle;