onPopPage method
Behaviour when page pop is requested.
Derived classes can override this method to alter the behaviour.
Implementation
@protected
bool onPopPage(Route route, dynamic result) {
if (!route.didPop(result)) {
return false;
}
setCurrent(_current.pop());
return true;
}