LifecycleState enum

Application lifecycle states

Inheritance
Available extensions

Values

resumed → const LifecycleState

App is visible and responding to user input

const LifecycleState('resumed')
inactive → const LifecycleState

App is visible but not responding to user input

const LifecycleState('inactive')
paused → const LifecycleState

App is not visible (in the background)

const LifecycleState('paused')
detached → const LifecycleState

App is being shut down or detached from Flutter engine

const LifecycleState('detached')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
String representation of the lifecycle state, used for serialization.
final

Methods

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

Operators

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

Constants

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