- override
The Navigator pushed the given route.
Source
@override
void didPush(Route<dynamic> route, Route<dynamic> previousRoute) {
assert(navigator != null);
assert(route != null);
if (route is PageRoute<dynamic>) {
assert(route.animation != null);
if (previousRoute is PageRoute<dynamic>) // could be null
_from = previousRoute;
_to = route;
_animation = route.animation;
_checkForHeroQuest();
}
}