FlutterWind constructor
const
FlutterWind({
- Key? key,
- Widget? child,
- Widget? loadingWidget,
- bool showDevTools = false,
- Color? devToolsBackgroundColor,
- Color? devToolsTextColor,
- bool showFps = true,
- bool showMemoryUsage = true,
- bool showBuildTimes = true,
- ThemeData? theme,
- ThemeData? darkTheme,
- ThemeMode? themeMode,
- String? title,
- Color? color,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Iterable<
Locale> ? supportedLocales, - bool debugShowCheckedModeBanner = false,
- bool debugShowMaterialGrid = false,
- bool useInheritedMediaQuery = false,
- Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - String? restorationScopeId,
- ScrollBehavior? scrollBehavior,
- Widget? home,
- String? initialRoute,
- List<
Route> onGenerateInitialRoutes()?, - Route onGenerateRoute()?,
Implementation
const FlutterWind({
super.key,
this.child,
this.loadingWidget,
this.showDevTools = false,
this.devToolsBackgroundColor,
this.devToolsTextColor,
this.showFps = true,
this.showMemoryUsage = true,
this.showBuildTimes = true,
this.theme,
this.darkTheme,
this.themeMode,
this.title,
this.color,
this.locale,
this.localizationsDelegates,
this.supportedLocales,
this.debugShowCheckedModeBanner = false,
this.debugShowMaterialGrid = false,
this.useInheritedMediaQuery = false,
this.shortcuts,
this.actions,
this.restorationScopeId,
this.scrollBehavior,
this.home,
this.initialRoute,
this.onGenerateInitialRoutes,
this.onGenerateRoute,
});