routeInformationParser property

RouteInformationParser<T>? routeInformationParser

The route information parser for the router.

When the Router gets a new route information from the routeInformationProvider, the Router uses this delegate to parse the route information and produce a configuration. The configuration will be used by routerDelegate and eventually rebuilds the Router widget.

Since this delegate is the primary consumer of the routeInformationProvider, it must not be null if routeInformationProvider is not null.


final RouteInformationParser<T>? routeInformationParser;