FastApp constructor
const
FastApp({
- Key? key,
- List<
RouteBase> routes = const <GoRoute>[], - Duration delayBeforeShowingLoader = const Duration(seconds: 1),
- 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
const FastApp({
super.key,
this.routes = const <GoRoute>[],
this.delayBeforeShowingLoader = const Duration(seconds: 1),
this.supportedLocales = kFastSupportedLocales,
this.debugShowCheckedModeBanner = false,
this.titleText = kFastEmptyString,
this.localizationsDelegates,
this.rootNavigatorKey,
this.errorReporter,
this.loaderBuilder,
this.errorBuilder,
this.initialRoute,
this.loaderJobs,
this.lightTheme,
this.darkTheme,
this.themeBloc,
this.locale,
this.home,
});