onOpenChanged property
final
Called when the sublist expands or collapses.
When the sublist starts expanding, this function is called with the value true. When the sublist starts collapsing, this function is called with the value false.
Implementation
final ValueChanged<bool> onOpenChanged