AdvancedNavigator constructor
AdvancedNavigator({
- Key? key,
- AdvancedNavigatorState? parent,
- String? initialLocation,
- Map<
String, List< paths = const {},Page> Function(PathArguments)> - PathFactory? onGeneratePath,
- PathFactory? onUnknownPath,
- Map<
String, Page Function(Object?)> pages = const {}, - PageFactory? onGeneratePage,
- PageFactory? onUnknownPage,
- PopPageCallback? onPopPage,
- Map<
String, Route> ? routes, - RouteFactory? onGenerateRoute,
- RouteFactory? onUnknownRoute,
- BackButtonDispatcher? backButtonDispatcher,
- TransitionDelegate transitionDelegate = const DefaultTransitionDelegate<dynamic>(),
- bool reportsRouteUpdateToEngine = false,
- List<
NavigatorObserver> observers = const <NavigatorObserver>[], - String? restorationScopeId,
- String? tag,
Implementation
AdvancedNavigator({
Key? key,
this.parent,
this.initialLocation,
this.paths = const {},
this.onGeneratePath,
this.onUnknownPath,
this.pages = const {},
this.onGeneratePage,
this.onUnknownPage,
this.onPopPage,
this.routes,
this.onGenerateRoute,
this.onUnknownRoute,
this.backButtonDispatcher,
this.transitionDelegate = const DefaultTransitionDelegate<dynamic>(),
this.reportsRouteUpdateToEngine = false,
this.observers = const <NavigatorObserver>[],
this.restorationScopeId,
this.tag,
}) : super(key: key);