MaterialAppRouterData constructor
MaterialAppRouterData({
- Key? widgetKey,
- TransitionBuilder? builder,
- String? title,
- GenerateAppTitle? onGenerateTitle,
- Color? color,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - LocaleListResolutionCallback? localeListResolutionCallback,
- LocaleResolutionCallback? localeResolutionCallback,
- Iterable<
Locale> ? supportedLocales, - bool? showPerformanceOverlay,
- bool? checkerboardRasterCacheImages,
- bool? checkerboardOffscreenLayers,
- bool? showSemanticsDebugger,
- bool? debugShowCheckedModeBanner,
- RouteInformationProvider? routeInformationProvider,
- RouteInformationParser<
Object> ? routeInformationParser, - RouterDelegate<
Object> ? routerDelegate, - RouterConfig<
Object> ? routerConfig, - Map<
LogicalKeySet, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - InitialRouteListFactory? onGenerateInitialRoutes,
- ScrollBehavior? scrollBehavior,
- ThemeData? theme,
- bool? debugShowMaterialGrid,
- ThemeData? darkTheme,
- ThemeMode? themeMode,
- GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, - Curve? themeAnimationCurve,
- Duration? themeAnimationDuration,
Implementation
MaterialAppRouterData({
super.widgetKey,
super.builder,
super.title,
super.onGenerateTitle,
super.color,
super.locale,
super.localizationsDelegates,
super.localeListResolutionCallback,
super.localeResolutionCallback,
super.supportedLocales,
super.showPerformanceOverlay,
super.checkerboardRasterCacheImages,
super.checkerboardOffscreenLayers,
super.showSemanticsDebugger,
super.debugShowCheckedModeBanner,
super.routeInformationProvider,
super.routeInformationParser,
super.routerDelegate,
super.routerConfig,
super.shortcuts,
super.actions,
super.onGenerateInitialRoutes,
super.scrollBehavior,
super.onNavigationNotification,
this.theme,
this.debugShowMaterialGrid,
this.darkTheme,
this.themeMode,
this.scaffoldMessengerKey,
this.themeAnimationCurve,
this.themeAnimationDuration,
});