RootStackRouter.build constructor
RootStackRouter.build({
- required List<
AutoRoute> routes, - List<
AutoRouteGuard> guards, - RouteType defaultRouteType,
Builds a new instance of RootStackRouter with the provided parameters
Implementation
factory RootStackRouter.build({
required List<AutoRoute> routes,
List<AutoRouteGuard> guards,
GlobalKey<NavigatorState>? navigatorKey,
RouteType defaultRouteType,
}) = _RootStackRouterImpl;