onExpansionChanged property

(void Function(bool)?) onExpansionChanged
final

Called when the widget expands or collapses.

When the widget starts expanding, this function is called with the value true. When the tile starts collapsing, this function is called with the value false.

Implementation

final void Function(bool)? onExpansionChanged;