lifecycle library
Classes
- Lifecycle
- LifecycleAppOwner
-
LifecycleAppOwnerBaseState<
LOW extends LifecycleAppOwner> - LifecycleCallbacks
- 全局的lifecycle互相绑定回调处理
- LifecycleEventObserver
- LifecycleEventObserverStream
- LifecycleHookObserver
- 启用hook之后将会导致maintainState 无法动态改变(目前暂未遇到此需求)
- LifecycleObserver
- LifecycleObserverRegistry
- LifecycleObserverRegistryDelegate
- LifecycleOwner
- LifecycleOwnerWidget
- LifecyclePageView
- LifecyclePageViewItem
- LifecycleRegistry
- LifecycleRouteOwner
-
LifecycleRouteOwnerBaseState<
LOW extends LifecycleRouteOwner> - LifecycleScope
- LifecycleStateChangeObserver
- LifecycleStateObserverStream
- LifecycleTabBarView
Enums
- LifecycleEvent
- 生命周期的事件
- LifecycleState
- 生命周期的状态
Mixins
-
LifecycleAppOwnerState<
T extends LifecycleOwnerWidget> - LifecycleObserverRegistryDelegateMixin
-
混入之后只需要调用
lifecycleDelegate.initState
lifecycleDelegate.didChangeDependencies
lifecycleDelegate.dispose
- LifecycleObserverRegistryElementMixin
-
LifecycleObserverRegistryMixin<
W extends StatefulWidget> -
LifecycleOwnerStateMixin<
LOW extends LifecycleOwnerWidget> -
LifecycleRouteMixin<
T> -
LifecycleRouteOwnerState<
T extends LifecycleRouteOwner>
Extensions
Typedefs
- LifecycleApp = LifecycleAppOwner
-
LifecycleAppBaseState<
LOW extends LifecycleAppOwner> = LifecycleAppOwnerBaseState< LOW> -
LifecycleAppState<
T extends LifecycleOwnerWidget> = LifecycleAppOwnerState< T> - LifecycleObserverRegister = LifecycleObserverRegistry
-
LifecycleObserverRegisterMixin<
W extends StatefulWidget> = LifecycleObserverRegistryMixin< W> - LifecycleOwnerAttachCallback = void Function(Lifecycle? parent, LifecycleOwner childOwner)
- LifecycleOwnerDetachCallback = void Function(Lifecycle parent, LifecycleOwner childOwner)
- LifecycleRegistryAttachCallback = void Function(Lifecycle parent, LifecycleObserverRegistry childOwner)
- LifecycleRegistryDetachCallback = void Function(Lifecycle parent, LifecycleObserverRegistry childOwner)
- LifecycleRoutePage = LifecycleRouteOwner
-
LifecycleRoutePageState<
T extends LifecycleRouteOwner> = LifecycleRouteOwnerState< T>