PapilioRoutingConfiguration<T> constructor
PapilioRoutingConfiguration<T> ({
- required void buildRoutes(
- PapilioRouterDelegateBuilder<
T> delegateBuilder
- PapilioRouterDelegateBuilder<
- required T currentRouteConfiguration(
- Page currentPage
- required Future<
T> parseRouteInformation(- RouteInformation routeInformation
- required RouteInformation? restoreRouteInformation(
- T configuration
- required void onInit(
- PapilioRouterDelegate<
T> delegate, - IocContainer container
- PapilioRouterDelegate<
- Future<
void> onSetNewRoutePath(- PapilioRouterDelegate<
T> delegate, - T configuration
- PapilioRouterDelegate<
Constructs a PapilioRoutingConfiguration. Use the extension methods for this. You shoudln't need to construct this directly.
Implementation
PapilioRoutingConfiguration({
required this.buildRoutes,
required this.currentRouteConfiguration,
required this.parseRouteInformation,
required this.restoreRouteInformation,
required this.onInit,
this.onSetNewRoutePath,
});