TencentCloudChatMaterialApp constructor

const TencentCloudChatMaterialApp({
  1. Key? key,
  2. GlobalKey<NavigatorState>? navigatorKey,
  3. GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey,
  4. Widget? home,
  5. Map<String, WidgetBuilder>? routes,
  6. String? initialRoute,
  7. RouteFactory? onGenerateRoute,
  8. InitialRouteListFactory? onGenerateInitialRoutes,
  9. RouteFactory? onUnknownRoute,
  10. List<NavigatorObserver>? navigatorObservers,
  11. RouteInformationProvider? routeInformationProvider,
  12. RouteInformationParser<Object>? routeInformationParser,
  13. RouterDelegate<Object>? routerDelegate,
  14. BackButtonDispatcher? backButtonDispatcher,
  15. RouterConfig<Object>? routerConfig,
  16. TransitionBuilder? builder,
  17. required String title,
  18. GenerateAppTitle? onGenerateTitle,
  19. ThemeData? theme,
  20. ThemeData? darkTheme,
  21. ThemeData? highContrastTheme,
  22. ThemeData? highContrastDarkTheme,
  23. ThemeMode? themeMode,
  24. Duration themeAnimationDuration = kThemeAnimationDuration,
  25. Curve themeAnimationCurve = Curves.linear,
  26. Color? color,
  27. Locale? locale,
  28. Iterable<LocalizationsDelegate>? localizationsDelegates,
  29. LocaleListResolutionCallback? localeListResolutionCallback,
  30. LocaleResolutionCallback? localeResolutionCallback,
  31. Iterable<Locale>? supportedLocales,
  32. bool debugShowMaterialGrid = false,
  33. bool showPerformanceOverlay = false,
  34. bool checkerboardRasterCacheImages = false,
  35. bool checkerboardOffscreenLayers = false,
  36. bool showSemanticsDebugger = false,
  37. bool debugShowCheckedModeBanner = true,
  38. Map<ShortcutActivator, Intent>? shortcuts,
  39. Map<Type, Action<Intent>>? actions,
  40. String? restorationScopeId,
  41. ScrollBehavior? scrollBehavior,
})

Implementation

const TencentCloudChatMaterialApp({
  super.key,
  this.navigatorKey,
  this.scaffoldMessengerKey,
  this.home,
  this.routes,
  this.initialRoute,
  this.onGenerateRoute,
  this.onGenerateInitialRoutes,
  this.onUnknownRoute,
  // this.onNavigationNotification,
  this.navigatorObservers,
  this.routeInformationProvider,
  this.routeInformationParser,
  this.routerDelegate,
  this.backButtonDispatcher,
  this.routerConfig,
  this.builder,
  required this.title,
  this.onGenerateTitle,
  this.theme,
  this.darkTheme,
  this.highContrastTheme,
  this.highContrastDarkTheme,
  this.themeMode,
  this.themeAnimationDuration = kThemeAnimationDuration,
  this.themeAnimationCurve = Curves.linear,
  this.color,
  this.locale,
  this.localizationsDelegates,
  this.localeListResolutionCallback,
  this.localeResolutionCallback,
  this.supportedLocales,
  this.debugShowMaterialGrid = false,
  this.showPerformanceOverlay = false,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
  this.showSemanticsDebugger = false,
  this.debugShowCheckedModeBanner = true,
  this.shortcuts,
  this.actions,
  this.restorationScopeId,
  this.scrollBehavior,
});