NestedNavigator constructor
NestedNavigator({
- Key? key,
- String? name,
- List<
NavigatorObserver> observers = const [], - RouteFactory? onGenerateRoute,
- Widget? home,
Create a nested navigator
Automatically registered with FastNav
Implementation
NestedNavigator({
super.key,
GlobalKey<NavigatorState>? navigatorKey,
this.name,
this.observers = const [],
this.onGenerateRoute,
this.home,
}) : navigatorKey = navigatorKey ?? GlobalKey<NavigatorState>();