ArcaneApp constructor

const ArcaneApp({
  1. Key? key,
  2. Widget? titleBar,
  3. Map<String, Widget Function()> pages = const {},
  4. ThemeData themeModifier(
    1. ThemeData theme
    )?,
  5. GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey,
  6. bool useInheritedMediaQuery = false,
  7. TransitionBuilder? builder,
  8. GenerateAppTitle? onGenerateTitle,
  9. Color? color,
  10. Locale? locale,
  11. Iterable<LocalizationsDelegate>? localizationsDelegates,
  12. LocaleListResolutionCallback? localeListResolutionCallback,
  13. LocaleResolutionCallback? localeResolutionCallback,
  14. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  15. bool debugShowMaterialGrid = false,
  16. bool showPerformanceOverlay = false,
  17. bool checkerboardRasterCacheImages = false,
  18. bool checkerboardOffscreenLayers = false,
  19. bool showSemanticsDebugger = false,
  20. bool debugShowCheckedModeBanner = false,
  21. Map<LogicalKeySet, Intent>? shortcuts,
  22. ScrollBehavior? scrollBehavior,
  23. ThemeData? highContrastTheme,
  24. ThemeData? highContrastDarkTheme,
  25. Map<Type, Action<Intent>>? actions,
  26. TextDirection directionality = TextDirection.ltr,
  27. Widget backgroundBuilder(
    1. BuildContext context,
    2. Widget child
    ) = _passthroughBuilder,
  28. Widget foregroundBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
  29. Widget? background,
})

Implementation

const ArcaneApp(
    {super.key,
    this.titleBar,
    this.pages = const {},
    this.themeModifier,
    this.scaffoldMessengerKey,
    this.useInheritedMediaQuery = false,
    this.builder,
    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.checkerboardRasterCacheImages = false,
    this.checkerboardOffscreenLayers = false,
    this.showSemanticsDebugger = false,
    this.debugShowCheckedModeBanner = false,
    this.shortcuts,
    this.scrollBehavior,
    this.highContrastTheme,
    this.highContrastDarkTheme,
    this.actions,
    this.directionality = TextDirection.ltr,
    this.backgroundBuilder = _passthroughBuilder,
    this.foregroundBuilder,
    this.background});