CustomTopNavigator constructor
const
CustomTopNavigator({
- Key? key,
- String? initialRoute,
- RouteFactory? onGenerateRoute,
- Map<
String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, - PageRouteFactory? pageRoute,
- Widget? home,
- RouteFactory? onUnknownRoute,
Implementation
const CustomTopNavigator({
Key? key,
this.navigatorKey,
this.initialRoute,
this.onGenerateRoute,
this.routes = const <String, WidgetBuilder>{},
this.pageRoute,
this.home,
this.onUnknownRoute,
this.navigatorObservers = const <NavigatorObserver>[],
}) : super(key: key);