onDrawerChanged property

void Function(bool)? onDrawerChanged
final

Optional callback that is called when the Scaffold.drawer is opened or closed.

Implementation

final void Function(bool)? onDrawerChanged;