RouterConfig<T> constructor
- RouteInformationProvider? routeInformationProvider,
- RouteInformationParser<
T> ? routeInformationParser, - required RouterDelegate<
T> routerDelegate, - BackButtonDispatcher? backButtonDispatcher,
Creates a RouterConfig.
The backButtonDispatcher, routeInformationProvider, and routeInformationParser are optional.
The routeInformationProvider and routeInformationParser must both be provided or both not provided.
Implementation
const RouterConfig({
this.routeInformationProvider,
this.routeInformationParser,
required this.routerDelegate,
this.backButtonDispatcher,
}) : assert((routeInformationProvider == null) == (routeInformationParser == null));