FastFirebaseApp class

Inheritance

Constructors

FastFirebaseApp.new({Key? key, required RoutesForMediaTypeCallback routesForMediaType, Duration delayBeforeShowingLoader = kFastDelayBeforeShowingLoader, bool debugShowCheckedModeBanner = false, bool forceOnboarding = false, bool askForReview = true, DatabaseVersionChanged? onDatabaseVersionChanged, List<FastDictEntryEntity>? defaultAppDictEntries, WidgetBuilder? onboardingBuilder, GlobalKey<NavigatorState>? rootNavigatorKey, IFastErrorReporter? errorReporter, List<BlocProviderSingleChildWidget>? blocProviders, FastAppLoaderBuilder? loaderBuilder, FastAppLoaderErrorBuilder? errorBuilder, AssetLoader? assetLoader, Iterable<FastJob>? loaderJobs, ThemeData? lightTheme, ThemeData? darkTheme, FastAppInfoDocument? appInformation, bool? useProIcons, bool? isInternetConnectionRequired, String? initialLocation, Map<String, dynamic>? defaultRemoteConfig, FirebaseOptions? firebaseOptions, VoidCallback? onWillRestartApp, Future onAppReady(BuildContext context)?, String? localizationPath, Locale? fallbackLocale})

Properties

appInfo ↔ FastAppInfoDocument
An FastAppInfoDocument instance that contains information about the application such as name, version, supported locales, etc.
latefinalinherited
askForReview bool
A flag indicating whether to ask the user for an app review when certain conditions are met.
finalinherited
assetLoader → AssetLoader
The dynamic asset loader for the localization assets.
finalinherited
blocProviders List<BlocProviderSingleChildWidget>?
A list of BlocProviderSingleChildWidget to provide the Bloc instances to the application.
finalinherited
darkTheme ThemeData?
The dark theme data for the application.
finalinherited
debugShowCheckedModeBanner bool
A flag indicating whether to show the debug banner on the top right corner of the screen.
finalinherited
defaultAppDictEntries List<FastDictEntryEntity>?
finalinherited
defaultRemoteConfig Map<String, dynamic>?
The default remote config values.
final
delayBeforeShowingLoader Duration
The duration to delay before showing the loading widget during the initialization of the application.
finalinherited
errorBuilder → FastAppLoaderErrorBuilder?
A builder function that builds an error widget for displaying errors during the loading process of the application.
finalinherited
errorReporter → IFastErrorReporter?
An error reporter implementation for reporting errors that occur during the application lifecycle.
finalinherited
fallbackLocale Locale
The fallback locale to use if the system locale is not supported.
finalinherited
firebaseOptions → FirebaseOptions?
The default firebase options.
final
forceOnboarding bool
A flag indicating whether to force the onboarding process even if the application has been launched before.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialLocation String?
finalinherited
isInternetConnectionRequired bool
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lightTheme ThemeData?
The light theme data for the application.
finalinherited
loaderBuilder → FastAppLoaderBuilder?
A builder function that builds the loading widget that is shown during the initialization of the application.
finalinherited
loaderJobs Iterable<FastJob>?
A list of FastJob instances to be executed during the loading process of the application.
finalinherited
localizationPath String
The path to the localization assets directory.
finalinherited
onAppReady Future Function(BuildContext context)?
finalinherited
onboardingBuilder WidgetBuilder?
A builder function that builds the onboarding widget that is shown to the user when the application is launched for the first time.
finalinherited
onDatabaseVersionChanged → DatabaseVersionChanged?
A callback function that is invoked when the database version is changed.
finalinherited
onWillRestartApp VoidCallback?
finalinherited
overrideLoaderJobs bool
finalinherited
rootNavigatorKey GlobalKey<NavigatorState>?
A key to the root navigator state that can be used to perform navigation actions from anywhere in the application.
finalinherited
routesForMediaType → RoutesForMediaTypeCallback
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useProIcons bool
A flag indicating whether to use the pro icons.
finalinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FastFirebaseApp>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited