ResponsiveMaterialApp constructor
ResponsiveMaterialApp({
- Key? key,
- dynamic scaffoldMessengerKey,
- dynamic home,
- Map<
String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, - dynamic initialRoute,
- dynamic onGenerateRoute,
- dynamic onGenerateInitialRoutes,
- dynamic onUnknownRoute,
- dynamic builder,
- dynamic title = '',
- dynamic onGenerateTitle,
- dynamic color,
- dynamic theme,
- dynamic darkTheme,
- dynamic highContrastTheme,
- dynamic highContrastDarkTheme,
- dynamic themeMode = ThemeMode.system,
- dynamic locale,
- dynamic localizationsDelegates,
- dynamic localeListResolutionCallback,
- dynamic localeResolutionCallback,
- dynamic supportedLocales = const <Locale>[Locale('en', 'US')],
- dynamic debugShowMaterialGrid = false,
- dynamic showPerformanceOverlay = false,
- dynamic checkerboardRasterCacheImages = false,
- dynamic checkerboardOffscreenLayers = false,
- dynamic showSemanticsDebugger = false,
- dynamic debugShowCheckedModeBanner = true,
- dynamic shortcuts,
- dynamic actions,
- dynamic restorationScopeId,
- dynamic scrollBehavior,
- dynamic useInheritedMediaQuery = false,
Implementation
ResponsiveMaterialApp({
Key? key,
navigatorKey,
scaffoldMessengerKey,
home,
Map<String, WidgetBuilder> routes = const <String, WidgetBuilder>{},
initialRoute,
onGenerateRoute,
onGenerateInitialRoutes,
onUnknownRoute,
List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
builder,
title = '',
onGenerateTitle,
color,
theme,
darkTheme,
highContrastTheme,
highContrastDarkTheme,
themeMode = ThemeMode.system,
locale,
localizationsDelegates,
localeListResolutionCallback,
localeResolutionCallback,
supportedLocales = const <Locale>[Locale('en', 'US')],
debugShowMaterialGrid = false,
showPerformanceOverlay = false,
checkerboardRasterCacheImages = false,
checkerboardOffscreenLayers = false,
showSemanticsDebugger = false,
debugShowCheckedModeBanner = true,
shortcuts,
actions,
restorationScopeId,
scrollBehavior,
useInheritedMediaQuery = false,
}) : super(
key: key,
navigatorKey : navigatorKey,
scaffoldMessengerKey : scaffoldMessengerKey,
home : _LayoutHelper._getResponsiveLayoutBuilder(home),
routes : routes,
initialRoute : initialRoute,
onGenerateRoute : onGenerateRoute,
onGenerateInitialRoutes : onGenerateInitialRoutes,
onUnknownRoute : onUnknownRoute,
navigatorObservers : navigatorObservers,
builder : builder,
title : title,
onGenerateTitle : onGenerateTitle,
color : color,
theme : theme,
darkTheme : darkTheme,
highContrastTheme : highContrastTheme,
highContrastDarkTheme : highContrastDarkTheme,
themeMode : themeMode,
locale : locale,
localizationsDelegates : localizationsDelegates,
localeListResolutionCallback : localeListResolutionCallback,
localeResolutionCallback : localeResolutionCallback,
supportedLocales : supportedLocales,
debugShowMaterialGrid : debugShowMaterialGrid,
showPerformanceOverlay : showPerformanceOverlay,
checkerboardRasterCacheImages : checkerboardRasterCacheImages,
checkerboardOffscreenLayers : checkerboardOffscreenLayers,
showSemanticsDebugger : showSemanticsDebugger,
debugShowCheckedModeBanner : debugShowCheckedModeBanner,
shortcuts : shortcuts,
actions : actions,
restorationScopeId : restorationScopeId,
scrollBehavior : scrollBehavior,
useInheritedMediaQuery : useInheritedMediaQuery
);