FastApp constructor

const FastApp({
  1. Key? key,
  2. List<RouteBase> routes = const <GoRoute>[],
  3. Duration delayBeforeShowingLoader = const Duration(seconds: 1),
  4. Iterable<Locale> supportedLocales = kFastSupportedLocales,
  5. bool debugShowCheckedModeBanner = false,
  6. String titleText = kFastEmptyString,
  7. Iterable<LocalizationsDelegate>? localizationsDelegates,
  8. GlobalKey<NavigatorState>? rootNavigatorKey,
  9. IFastErrorReporter? errorReporter,
  10. FastAppLoaderBuilder? loaderBuilder,
  11. FastAppLoaderErrorBuilder? errorBuilder,
  12. String? initialRoute,
  13. Iterable<FastJob>? loaderJobs,
  14. ThemeData? lightTheme,
  15. ThemeData? darkTheme,
  16. FastThemeBloc? themeBloc,
  17. Locale? locale,
  18. 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,
});