LifecycleObserverRegistry class abstract

Implementers
Available extensions

Constructors

LifecycleObserverRegistry()

Properties

currentLifecycleState LifecycleState
no setter
hashCode int
The hash code for this object.
no setterinherited
lifecycle Lifecycle
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLifecycleObserver(LifecycleObserver observer, {LifecycleState? startWith, bool fullCycle = true}) → void
addLifecycleObserverToOwner<LO extends LifecycleOwner>(LifecycleObserver observer, [bool cycleCompanionOwner = false]) → void

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegistryMixinExt extension

findLifecycleObserver<LO extends LifecycleObserver>() → LO?

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegistryFindObserverExt extension

nextLifecycleEvent(LifecycleEvent event) Future<LifecycleEvent>

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegistryMixinExt extension

nextLifecycleResumedState() Future<LifecycleState>

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegistryMixinExt extension

nextLifecycleResumeEvent() Future<LifecycleEvent>

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegistryMixinExt extension

nextLifecycleState(LifecycleState state) Future<LifecycleState>

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegistryMixinExt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerLifecycleObserver(LifecycleObserver observer, {LifecycleState? startWith, bool fullCycle = true}) → void

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegisterSupport extension

registerLifecycleObserverToOwner<LO extends LifecycleOwner>(LifecycleObserver observer, [bool cycleCompanionOwner = false]) → void

Available on LifecycleObserverRegistry, provided by the LifecycleObserverRegisterSupport extension

removeLifecycleObserver(LifecycleObserver observer, {bool? fullCycle}) → void
toString() String
A string representation of this object.
inherited

Operators

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