NeumorphicApp constructor

const NeumorphicApp({
  1. Key? key,
  2. String title = '',
  3. Color? color,
  4. String? initialRoute,
  5. Map<String, WidgetBuilder> routes = const {},
  6. Widget? home,
  7. bool debugShowCheckedModeBanner = true,
  8. GlobalKey<NavigatorState>? navigatorKey,
  9. List<NavigatorObserver> navigatorObservers = const [],
  10. RouteFactory? onGenerateRoute,
  11. GenerateAppTitle? onGenerateTitle,
  12. InitialRouteListFactory? onGenerateInitialRoutes,
  13. RouteFactory? onUnknownRoute,
  14. NeumorphicThemeData theme = neumorphicDefaultTheme,
  15. NeumorphicThemeData darkTheme = neumorphicDefaultDarkTheme,
  16. Locale? locale,
  17. Iterable<LocalizationsDelegate>? localizationsDelegates,
  18. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  19. ThemeMode themeMode = ThemeMode.system,
  20. ThemeData? materialDarkTheme,
  21. ThemeData? materialTheme,
  22. Widget builder(
    1. BuildContext,
    2. Widget?
    )?,
  23. Locale? localeResolutionCallback(
    1. Locale?,
    2. Iterable<Locale>
    )?,
  24. ThemeData? highContrastTheme,
  25. ThemeData? highContrastDarkTheme,
  26. LocaleListResolutionCallback? localeListResolutionCallback,
  27. bool showPerformanceOverlay = false,
  28. bool checkerboardRasterCacheImages = false,
  29. bool checkerboardOffscreenLayers = false,
  30. bool showSemanticsDebugger = false,
  31. bool debugShowMaterialGrid = false,
  32. Map<LogicalKeySet, Intent>? shortcuts,
  33. Map<Type, Action<Intent>>? actions,
})

Implementation

const NeumorphicApp({
  Key? key,
  this.title = '',
  this.color,
  this.initialRoute,
  this.routes = const {},
  this.home,
  this.debugShowCheckedModeBanner = true,
  this.navigatorKey,
  this.navigatorObservers = const [],
  this.onGenerateRoute,
  this.onGenerateTitle,
  this.onGenerateInitialRoutes,
  this.onUnknownRoute,
  this.theme = neumorphicDefaultTheme,
  this.darkTheme = neumorphicDefaultDarkTheme,
  this.locale,
  this.localizationsDelegates,
  this.supportedLocales = const <Locale>[Locale('en', 'US')],
  this.themeMode = ThemeMode.system,
  this.materialDarkTheme,
  this.materialTheme,
  this.builder,
  this.localeResolutionCallback,
  this.highContrastTheme,
  this.highContrastDarkTheme,
  this.localeListResolutionCallback,
  this.showPerformanceOverlay = false,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
  this.showSemanticsDebugger = false,
  this.debugShowMaterialGrid = false,
  this.shortcuts,
  this.actions,
}) : super(key: key);