DLifeCycleState enum Null safety

应用的生命周期 创建 前台 后台

Constants

background → const DLifeCycleState
const DLifeCycleState(2)
create → const DLifeCycleState
const DLifeCycleState(0)
foreground → const DLifeCycleState
const DLifeCycleState(1)
values → const List<DLifeCycleState>

A constant List of the values in this enum, in order of their declaration.

const List<DLifeCycleState>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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