RouteFilter typedef Null safety

RouteFilter = bool Function(Route? route)

Implementation

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