LifecycleEvent enum

LifecycleOwner的生命周期事件

Constants

onCreate → const LifecycleEvent

LifecycleOwner的初始化事件

const LifecycleEvent(0)
onDestroy → const LifecycleEvent

LifecycleOwner被销毁时的事件

const LifecycleEvent(3)
onPause → const LifecycleEvent

LifecycleOwner的移除或转入后台事件

const LifecycleEvent(2)
onResume → const LifecycleEvent

LifecycleOwner的前台显示事件

const LifecycleEvent(1)
values → const List<LifecycleEvent>

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

const List<LifecycleEvent>

Properties

index → int

The integer index of this enum.

final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited