AppStage enum

Defines what stage the App is currently in.

Inheritance

Constructors

AppStage()
const

Values

setup → const AppStage

The first stage where the App hasn't done any operations and App.run hasn't been executed yet.

bootstrap → const AppStage

Entered after App.run executes. Right after changing, the App.run's bootstrapCallback parameter is executed. At this stage, Flutter's services has been initialized via WidgetsFlutterBinding.ensureInitialized, all code is from now on executed in a guarded Zone to catch errors, and the logging system for App.log is set up.

initializingPlugins → const AppStage

All Plugins that are able to initialize (all requirements are met) are initialized in this stage.

setupRemoteConfig → const AppStage

RemoteConfig systems from Plugin.createRemoteConfig are created and initialized in this stage.

initializingPluginsWithRemoteConfig → const AppStage

Plugins that required a RemoteConfig to be set up before initialization are initialized in this stage. It is in this stage where Plugins that should be disabled via RemoteConfig are removed.

running → const AppStage

The main stage of an App. After initialization, the App will generally be in this stage forever except during rare cases or tests.

disposed → const AppStage

Entered upon calling App.dispose. In general, this does not happen except during rare cases or tests.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AppStage>
A constant List of the values in this enum, in order of their declaration.