AndrossyApp constructor
AndrossyApp({
- Key? key,
- GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, - Widget? home,
- Map<
String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, - String? initialRoute,
- RouteFactory? onGenerateRoute,
- InitialRouteListFactory? onGenerateInitialRoutes,
- RouteFactory? onUnknownRoute,
- TransitionBuilder? builder,
- String title = '',
- GenerateAppTitle? onGenerateTitle,
- Color? color,
- ThemeData? theme,
- ThemeData? darkTheme,
- ThemeData? highContrastTheme,
- ThemeData? highContrastDarkTheme,
- Duration themeAnimationDuration = kThemeAnimationDuration,
- Curve themeAnimationCurve = Curves.linear,
- 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<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - String? restorationScopeId,
- ScrollBehavior? scrollBehavior,
- AndrossyConfigure configure = const AndrossyConfigure.none(),
- AndrossyLocalizer localizer = const AndrossyLocalizer.none(),
- Androssy androssy = const Androssy(),
- bool userNetworkStatus = false,
Implementation
AndrossyApp({
super.key,
super.navigatorKey,
super.scaffoldMessengerKey,
super.home,
super.routes,
super.initialRoute,
super.onGenerateRoute,
super.onGenerateInitialRoutes,
super.onUnknownRoute,
super.onNavigationNotification,
super.navigatorObservers,
super.builder,
super.title = '',
super.onGenerateTitle,
super.color,
super.theme,
super.darkTheme,
super.highContrastTheme,
super.highContrastDarkTheme,
super.themeAnimationDuration = kThemeAnimationDuration,
super.themeAnimationCurve = Curves.linear,
super.locale,
super.localizationsDelegates,
super.localeListResolutionCallback,
super.localeResolutionCallback,
super.supportedLocales = const <Locale>[Locale('en', 'US')],
super.debugShowMaterialGrid = false,
super.showPerformanceOverlay = false,
super.checkerboardRasterCacheImages = false,
super.checkerboardOffscreenLayers = false,
super.showSemanticsDebugger = false,
super.debugShowCheckedModeBanner = false,
super.shortcuts,
super.actions,
super.restorationScopeId,
super.scrollBehavior,
this.configure = const AndrossyConfigure.none(),
this.localizer = const AndrossyLocalizer.none(),
this.androssy = const Androssy(),
this.userNetworkStatus = false,
}) : notifier = AndrossyNotifier(androssy);