FastApp constructor

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