AuthenticatedArcaneApp constructor

const AuthenticatedArcaneApp({
  1. List<ArcaneRoute> arcaneRoutes = const <ArcaneRoute>[],
  2. Key? key,
  3. List<AuthMethod> authMethods = const [],
  4. Widget loginScreenBuilder(
    1. BuildContext,
    2. List<AuthMethod>
    ) = _defaultLoginBuilder,
  5. ArcaneTheme? theme,
  6. GlobalKey<NavigatorState>? navigatorKey,
  7. Widget? home,
  8. Map<String, WidgetBuilder> routes = const <String, WidgetBuilder>{},
  9. String initialRoute = "/",
  10. RouteFactory? onGenerateRoute,
  11. InitialRouteListFactory? onGenerateInitialRoutes,
  12. RouteFactory? onUnknownRoute,
  13. NotificationListenerCallback<NavigationNotification>? onNavigationNotification,
  14. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  15. TransitionBuilder? builder,
  16. String title = '',
  17. GenerateAppTitle? onGenerateTitle,
  18. Color? color,
  19. Locale? locale,
  20. Iterable<LocalizationsDelegate>? localizationsDelegates,
  21. LocaleListResolutionCallback? localeListResolutionCallback,
  22. LocaleResolutionCallback? localeResolutionCallback,
  23. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  24. bool debugShowMaterialGrid = false,
  25. bool showPerformanceOverlay = false,
  26. bool showSemanticsDebugger = false,
  27. bool debugShowCheckedModeBanner = false,
  28. Map<ShortcutActivator, Intent>? shortcuts,
  29. Map<Type, Action<Intent>>? actions,
  30. String? restorationScopeId,
  31. AdaptiveScaling? scaling,
  32. bool disableBrowserContextMenu = true,
})

Implementation

const AuthenticatedArcaneApp({
  this.arcaneRoutes = const <ArcaneRoute>[],
  super.key,
  this.authMethods = const [],
  this.loginScreenBuilder = _defaultLoginBuilder,
  this.theme,
  this.navigatorKey,
  this.home,
  Map<String, WidgetBuilder> this.routes = const <String, WidgetBuilder>{},
  this.initialRoute = "/",
  this.onGenerateRoute,
  this.onGenerateInitialRoutes,
  this.onUnknownRoute,
  this.onNavigationNotification,
  List<NavigatorObserver> this.navigatorObservers =
      const <NavigatorObserver>[],
  this.builder,
  this.title = '',
  this.onGenerateTitle,
  this.color,
  this.locale,
  this.localizationsDelegates,
  this.localeListResolutionCallback,
  this.localeResolutionCallback,
  this.supportedLocales = const <Locale>[Locale('en', 'US')],
  this.debugShowMaterialGrid = false,
  this.showPerformanceOverlay = false,
  this.showSemanticsDebugger = false,
  this.debugShowCheckedModeBanner = false,
  this.shortcuts,
  this.actions,
  this.restorationScopeId,
  this.scaling,
  this.disableBrowserContextMenu = true,
})  : routeInformationProvider = null,
      routeInformationParser = null,
      routerDelegate = null,
      backButtonDispatcher = null,
      routerConfig = null;