RootStackRouter.build constructor

RootStackRouter.build({
  1. required List<AutoRoute> routes,
  2. List<AutoRouteGuard> guards,
  3. GlobalKey<NavigatorState>? navigatorKey,
  4. 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;