RouteFilter typedef

RouteFilter = bool Function(Route? route)

RouteFilter allows to filter out routes that should not be tracked.

By default, only PageRoutes are tracked.

Implementation

typedef RouteFilter = bool Function(Route<dynamic>? route);