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