Whether this navigator can be popped.
The only route that cannot be popped off the navigator is the initial route.
Source
bool canPop() {
assert(_history.isNotEmpty);
return _history.length > 1 || _history[0].willHandlePopInternally;
}
Whether this navigator can be popped.
The only route that cannot be popped off the navigator is the initial route.
bool canPop() {
assert(_history.isNotEmpty);
return _history.length > 1 || _history[0].willHandlePopInternally;
}