ArcaneApp constructor
const
ArcaneApp({
- Key? key,
- Widget? titleBar,
- Map<
String, Widget Function()> pages = const {}, - ThemeData themeModifier(
- ThemeData theme
- GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, - bool useInheritedMediaQuery = false,
- TransitionBuilder? builder,
- 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 checkerboardRasterCacheImages = false,
- bool checkerboardOffscreenLayers = false,
- bool showSemanticsDebugger = false,
- bool debugShowCheckedModeBanner = false,
- Map<
LogicalKeySet, Intent> ? shortcuts, - ScrollBehavior? scrollBehavior,
- ThemeData? highContrastTheme,
- ThemeData? highContrastDarkTheme,
- Map<
Type, Action< ? actions,Intent> > - TextDirection directionality = TextDirection.ltr,
- Widget backgroundBuilder(
- BuildContext context,
- Widget child
- Widget foregroundBuilder(
- BuildContext context,
- Widget child
- 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});