MaterialAppRouterData constructor

const MaterialAppRouterData({
  1. Key? widgetKey,
  2. String? title,
  3. GenerateAppTitle? onGenerateTitle,
  4. Color? color,
  5. Locale? locale,
  6. Iterable<LocalizationsDelegate>? localizationsDelegates,
  7. LocaleListResolutionCallback? localeListResolutionCallback,
  8. LocaleResolutionCallback? localeResolutionCallback,
  9. Iterable<Locale> supportedLocales = kDefaultSupportedLocales,
  10. bool showPerformanceOverlay = kDefaultShowPerformanceOverlay,
  11. bool checkerboardRasterCacheImages = kDefaultCheckerboardRasterCacheImages,
  12. bool checkerboardOffscreenLayers = kDefaultCheckerboardOffscreenLayers,
  13. bool showSemanticsDebugger = kDefaultShowSemanticsDebugger,
  14. bool debugShowCheckedModeBanner = kDefaultDebugShowCheckedModeBanner,
  15. Map<LogicalKeySet, Intent>? shortcuts,
  16. Map<Type, Action<Intent>>? actions,
  17. String? restorationScopeId,
  18. ScrollBehavior? scrollBehavior,
  19. TransitionBuilder? builder,
  20. bool onNavigationNotification(
    1. NavigationNotification
    )?,
  21. RouteInformationProvider? routeInformationProvider,
  22. RouteInformationParser<Object>? routeInformationParser,
  23. RouterDelegate<Object>? routerDelegate,
  24. RouterConfig<Object>? routerConfig,
  25. BackButtonDispatcher? backButtonDispatcher,
  26. List<NavigatorObserver>? navigatorObservers,
  27. GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey,
  28. ThemeData? theme,
  29. ThemeData? darkTheme,
  30. ThemeData? highContrastTheme,
  31. ThemeData? highContrastDarkTheme,
  32. ThemeMode? themeMode,
  33. Duration themeAnimationDuration = kMaterialDefaultThemeAnimationDuration,
  34. Curve themeAnimationCurve = kMaterialDefaultThemeAnimationCurve,
  35. bool debugShowMaterialGrid = kDebugShowMaterialGrid,
  36. AnimationStyle? themeAnimationStyle,
})

Implementation

const MaterialAppRouterData({
  super.widgetKey,
  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.shortcuts,
  super.actions,
  super.restorationScopeId,
  super.scrollBehavior,
  super.builder,
  super.onNavigationNotification,
  super.routeInformationProvider,
  super.routeInformationParser,
  super.routerDelegate,
  super.routerConfig,
  super.backButtonDispatcher,
  super.navigatorObservers,
  this.scaffoldMessengerKey,
  this.theme,
  this.darkTheme,
  this.highContrastTheme,
  this.highContrastDarkTheme,
  this.themeMode,
  this.themeAnimationDuration = kMaterialDefaultThemeAnimationDuration,
  this.themeAnimationCurve = kMaterialDefaultThemeAnimationCurve,
  this.debugShowMaterialGrid = kDebugShowMaterialGrid,
  this.themeAnimationStyle,
});