onWillExpand property

Future<bool> Function(K key)? onWillExpand
final

Callback fired before a row expansion changes. Return true to allow the expansion change, or false to prevent it.

Implementation

final Future<bool> Function(K key)? onWillExpand;