FastFirebaseApp constructor

FastFirebaseApp({
  1. Key? key,
  2. required RoutesForMediaTypeCallback routesForMediaType,
  3. Duration delayBeforeShowingLoader = kFastDelayBeforeShowingLoader,
  4. bool debugShowCheckedModeBanner = false,
  5. bool forceOnboarding = false,
  6. bool askForReview = true,
  7. DatabaseVersionChanged? onDatabaseVersionChanged,
  8. List<FastDictEntryEntity>? defaultAppDictEntries,
  9. WidgetBuilder? onboardingBuilder,
  10. GlobalKey<NavigatorState>? rootNavigatorKey,
  11. IFastErrorReporter? errorReporter,
  12. List<BlocProviderSingleChildWidget>? blocProviders,
  13. FastAppLoaderBuilder? loaderBuilder,
  14. FastAppLoaderErrorBuilder? errorBuilder,
  15. AssetLoader? assetLoader,
  16. Iterable<FastJob>? loaderJobs,
  17. ThemeData? lightTheme,
  18. ThemeData? darkTheme,
  19. FastAppInfoDocument? appInformation,
  20. bool? useProIcons,
  21. bool? isInternetConnectionRequired,
  22. String? initialLocation,
  23. Map<String, dynamic>? defaultRemoteConfig,
  24. FirebaseOptions? firebaseOptions,
  25. VoidCallback? onWillRestartApp,
  26. Future onAppReady(
    1. BuildContext context
    )?,
  27. String? localizationPath,
  28. Locale? fallbackLocale,
})

Implementation

FastFirebaseApp({
  super.key,
  required super.routesForMediaType,
  super.delayBeforeShowingLoader = kFastDelayBeforeShowingLoader,
  super.debugShowCheckedModeBanner = false,
  super.forceOnboarding = false,
  super.askForReview = true,
  super.onDatabaseVersionChanged,
  super.defaultAppDictEntries,
  super.onboardingBuilder,
  super.rootNavigatorKey,
  super.errorReporter,
  super.blocProviders,
  super.loaderBuilder,
  super.errorBuilder,
  super.assetLoader,
  super.loaderJobs,
  super.lightTheme,
  super.darkTheme,
  super.appInformation,
  super.useProIcons,
  super.isInternetConnectionRequired,
  super.initialLocation,
  this.defaultRemoteConfig,
  this.firebaseOptions,
  super.onWillRestartApp,
  super.onAppReady,
  String? localizationPath,
  Locale? fallbackLocale,
}) : super(
        localizationPath: localizationPath ?? kFastLocalizationPath,
        fallbackLocale: fallbackLocale ?? kFastAppSettingsDefaultLocale,
      );