To replace the top-most route, consider pushReplacement instead, which does animate the new route, and delays removing the old route until the new route has finished animating. The removed route is removed without being completed, so this method does not take a return value argument.