onExpansionChanged property

(dynamic Function(String, bool)?) onExpansionChanged
final

The expand/collapse handler for a node. Passes the node key and the expansion state.

Implementation

final Function(String, bool)? onExpansionChanged;