CustomRouter constructor
const
CustomRouter({
- Function? transitionsBuilder,
- bool? barrierDismissible,
- int? durationInMilliseconds,
- int? reverseDurationInMilliseconds,
- bool? opaque,
- String? routesClassName,
- String? pathPrefix,
- required List<
StackedRoute> routes, - bool preferRelativeImports = true,
- String? replaceInRouteName,
- bool? deferredLoading,
Implementation
const CustomRouter({
this.transitionsBuilder,
this.barrierDismissible,
this.durationInMilliseconds,
this.reverseDurationInMilliseconds,
this.opaque,
bool? generateNavigationHelperExtension,
String? routesClassName,
String? pathPrefix,
required List<StackedRoute> routes,
bool preferRelativeImports = true,
String? replaceInRouteName,
bool? deferredLoading,
}) : super._(
routes,
preferRelativeImports,
replaceInRouteName: replaceInRouteName,
deferredLoading: deferredLoading ?? false,
generateNavigationHelperExtension: generateNavigationHelperExtension,
routesClassName: routesClassName,
routePrefix: pathPrefix,
);