CupertinoRouter constructor

const CupertinoRouter({
  1. bool preferRelativeImports = true,
  2. required List<StackedRoute> routes,
  3. String? replaceInRouteName,
  4. bool? deferredLoading,
  5. bool? generateNavigationHelperExtension,
  6. String? routesClassName,
  7. String? pathPrefix,
})

Implementation

const CupertinoRouter({
  bool preferRelativeImports = true,
  required List<StackedRoute> routes,
  String? replaceInRouteName,
  bool? deferredLoading,
  bool? generateNavigationHelperExtension,
  String? routesClassName,
  String? pathPrefix,
}) : super._(
        routes,
        preferRelativeImports,
        replaceInRouteName: replaceInRouteName,
        deferredLoading: deferredLoading ?? false,
        generateNavigationHelperExtension: generateNavigationHelperExtension,
        routesClassName: routesClassName,
        routePrefix: pathPrefix,
      );