FastApp constructor
FastApp({
- Key? key,
- Duration delayBeforeShowingLoader = const Duration(seconds: 1),
- Map<
String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, - Iterable<
Locale> supportedLocales = kFastSupportedLocales, - bool debugShowCheckedModeBanner = false,
- String titleText = kFastEmptyString,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - IFastErrorReporter? errorReporter,
- FastAppLoaderBuilder? loaderBuilder,
- FastAppLoaderErrorBuilder? errorBuilder,
- String? initialRoute,
- Iterable<
FastJob> ? loaderJobs, - ThemeData? lightTheme,
- ThemeData? darkTheme,
- FastThemeBloc? themeBloc,
- Locale? locale,
- Widget? home,
Implementation
FastApp({
Key? key,
this.delayBeforeShowingLoader = const Duration(seconds: 1),
this.routes = const <String, WidgetBuilder>{},
this.supportedLocales = kFastSupportedLocales,
this.debugShowCheckedModeBanner = false,
this.titleText = kFastEmptyString,
this.localizationsDelegates,
this.errorReporter,
this.loaderBuilder,
this.errorBuilder,
this.initialRoute,
this.loaderJobs,
this.lightTheme,
this.darkTheme,
this.themeBloc,
this.locale,
this.home,
}) : super(key: key);