AppState enum
Constructors
- AppState()
-
const
Values
- unknown → const AppState
-
-1 => When state cannot recognised
- foreground → const AppState
-
0 => When app is running or active. The app is fully visible and interactive.
- background → const AppState
-
1 => When app is background. The app is in the background and is not visible on the screen.
- inactive → const AppState
-
2 => The app is visible but not interactive. You might use this state to pause ongoing tasks that do not need to run when the app is not interactive. Only for iOS
- killState → const AppState
-
3 => When app is in kill state.
Properties
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