closeOnBackButton property

bool closeOnBackButton
final

Whether to close the dropdown when the back button is pressed.

Note: This option requires the app to have a router, such as MaterialApp.router, in order to work properly.

Implementation

final bool closeOnBackButton;