shouldDisableModeOnExitButtonTapped property

bool get shouldDisableModeOnExitButtonTapped

When set to true, the mode will disable automatically when the default exit button is tapped.

By default this property is true.

Added in version 8.3.0

Implementation

bool get shouldDisableModeOnExitButtonTapped => _shouldDisableModeOnExitButtonTapped;
set shouldDisableModeOnExitButtonTapped (bool newValue)

When set to true, the mode will disable automatically when the default exit button is tapped.

By default this property is true.

Added in version 8.3.0

Implementation

set shouldDisableModeOnExitButtonTapped(bool newValue) {
  _shouldDisableModeOnExitButtonTapped = newValue;
  _updateNative();
}