Default route filter, specifies to track only the PageRoute and its descendants.
bool defaultRouteFilter(Route<dynamic>? route) => route is PageRoute;