isEnabled property
bool
isEnabled
Whether or not this implicit navigator and all those below it should ignore attempts to pop.
Implementation
bool get isEnabled => _isEnabled;
Set whether or not this implicit navigator and all those below it should ignore attempts to pop (including from the system back button).
Set isEnabled to false if you are taking this navigator off stage and do not want it intercepting calls to pop.
Implementation
set isEnabled(bool newValue) {
if (_isEnabled != newValue) {
_isEnabled = newValue;
_onStackChanged();
}
}