lifecycle library

Classes

ILifecycle
对lifecycle的接口
ILifecycleRegistry
lifecycle的注册
Lifecycle
lifecycle的实现
LifecycleAppOwner
LifecycleAppOwnerBaseState<LOW extends LifecycleAppOwner>
LifecycleCallbacks
全局的lifecycle互相绑定回调处理
LifecycleEventObserver
观察所有的事件
LifecycleEventObserverStream
LifecycleHookObserver
启用hook之后将会导致maintainState 无法动态改变(目前暂未遇到此需求)
LifecycleNavigatorObserver
LifecycleObserver
观察者
LifecycleOwner
lifecycle的管理者
LifecycleOwnerState<LOW extends LifecycleOwnerWidget>
用来管理 lifecycleRegistry 的 state
LifecycleOwnerWidget
LifecycleOwner的寄存管理widget
LifecyclePageView
LifecyclePageViewItem
LifecycleRegistry
兼容旧版本 未来将会移除此类直接使用内部类 不在导出
LifecycleRegistryState
lifecycle的临时管理者
LifecycleRegistryStateDelegate
可以用来管理的代理者
LifecycleRouteOwner
LifecycleRouteOwnerBaseState<LOW extends LifecycleRouteOwner>
LifecycleStateChangeObserver
观察状态发生变化
LifecycleStateObserverStream
LifecycleTabBarView

Enums

LifecycleEvent
生命周期的事件
LifecycleState
生命周期的状态

Mixins

LifecycleAppOwnerState<T extends LifecycleOwnerWidget>
LifecycleObserverRegistryMixin<W extends StatefulWidget>
LifecycleOwnerStateMixin<LOW extends LifecycleOwnerWidget>
可混入 快速管理 使用 lifecycleRegistry
LifecycleRegistryDelegateMixin
混入之后,需要调用 lifecycleDelegate.initState lifecycleDelegate.didChangeDependencies lifecycleDelegate.deactivate lifecycleDelegate.activate lifecycleDelegate.dispose
LifecycleRegistryElementMixin
混入Element来临时管理和注册observer
LifecycleRegistryStateMixin<W extends StatefulWidget>
混入state来临时管理和注册observer
LifecycleRouteMixin<T>
LifecycleRouteOwnerState<T extends LifecycleRouteOwner>