LifecycleRegistry class

Inheritance

Constructors

LifecycleRegistry(LifecycleOwner provider)

Properties

currentState LifecycleState
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
observers Set<LifecycleObserver>
no setter
parent Lifecycle?
no setteroverride
provider LifecycleOwner
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addObserver(LifecycleObserver observer, [LifecycleState? startWith]) → void
override
bindParentLifecycle(Lifecycle? parent) → void
clearObserver() → void
getCurrentState() LifecycleState
handleLifecycleEvent(LifecycleEvent event) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeObserver(LifecycleObserver observer, [LifecycleState? endWith]) → void
override
toString() String
A string representation of this object.
inherited

Operators

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