ArcaneApp constructor
const
ArcaneApp({
- Key? key,
- AbstractArcaneTheme? theme,
- Widget? home,
- List<
ArcaneRoute> arcaneRoutes = const <ArcaneRoute>[], - Map<
String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, - String initialRoute = "/",
- RouteFactory? onGenerateRoute,
- InitialRouteListFactory? onGenerateInitialRoutes,
- RouteFactory? onUnknownRoute,
- TransitionBuilder? builder,
- String title = '',
- GenerateAppTitle? onGenerateTitle,
- Color? color,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - LocaleListResolutionCallback? localeListResolutionCallback,
- LocaleResolutionCallback? localeResolutionCallback,
- Iterable<
Locale> supportedLocales = const <Locale>[Locale('en', 'US')], - bool debugShowMaterialGrid = false,
- bool showPerformanceOverlay = false,
- bool showSemanticsDebugger = false,
- bool debugShowCheckedModeBanner = false,
- Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - String? restorationScopeId,
- AdaptiveScaling? scaling,
- bool disableBrowserContextMenu = true,
Implementation
const ArcaneApp({
super.key,
this.theme,
this.navigatorKey,
this.home,
this.arcaneRoutes = const <ArcaneRoute>[],
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;