NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
AnLifecycle draws on lifecycle in androidx to implement lifecycle on Flutter, Developers can sense the LifecycleState under the current context wherever you need it.
Last release 2 months ago
09 Aug 2026
Release timing varies
gaps range from 8 days to 4 months
Nearly every release is documented
notes for 30 of 33 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
38 releases · first in 2023
Nothing published for this version
Fixed the issue where the test parameter in addLifecycleObserverToOwner was not working.
test parameter in addLifecycleObserverToOwner was not working.itemScopeBuilder parameter.* Compatible with Flutter 3.0
One column per month.
When moving the lifecycle state, the state is saved first and then observers are invoked.
Observers in LifecycleRegistryState are executed in their registration order when dispose is called.
* Code standardization
Adjust all fully visible PageViewItems to be resumed.
* Code standardization
LifecycleNavigatorObserver.hookMode adds pageKeepAlive parameter
visibleRoutes use weak references for routes
Add MockLifecycleRegistry and MockLifecycleOwner to assist with testing.
In LifecycleRegistryStateDelegate, switch the state first and then execute the Observer during destroy.
Fix a state transition check for the resumed state.
resumed state.Convert forEach to for loops for better control and performance.
LifecycleNavigatorObserver.hookMode() adjusts the obfuscation retention for compatibility mode.
Fix _HookOverlayEntry(LifecycleNavigatorObserver.hookMode()) passing opaque
LifecycleNavigatorObserver.hookMode()) passing opaqueOptimize the README content and update the example to version 3.0.
Fix the exception where the observer of LifecycleRegistryState calls remove during destroy.
In the implementation of ILifecycleRegistry, allow calling addLifecycleObserver in the constructor.
Refactored the registry content to ensure that the timing of invocations during registry registration is correct.
registry content to ensure that the timing of invocations during registry
registration is correct.Fixed the destroy error in registerLifecycleObserverToOwner.
destroy error in registerLifecycleObserverToOwner.Removed findLifecycleObserver from LifecycleObserverRegistry and replaced it with extension compatibility mode.
findLifecycleObserver from LifecycleObserverRegistry and replaced it with extension
compatibility mode.LifecycleRouteOwner where route records were incorrect
in LifecycleNavigatorObserver.didReplace.resume event for Rouge to align with the behavior of
other LifecycleOwnerWidgets (triggered after widget.build).removeCallback to LifecycleCallbacks.Fixed the issue where the first start event was triggered after build (in versions 2.0.0, 2.0.1); after the fix, the start event must occur before bui
start event was triggered after build (in versions 2.0.0,
2.0.1); after the fix, the start event must occur before build.addOnDidUpdateWidget causes performance issues and will be removed in the next version.
addOnDidUpdateWidget causes performance issues and will be removed in the next version.LifecycleObserverRegistryDelegate to allow customization
of LifecycleObserverRegistryMixin.LifecycleObserverRegistryElementMixin to mix the registry into custom elements.The lifecycle provider now uses InheritedWidget to ensure timely notifications of changes.
InheritedWidget to ensure timely notifications of changes.LifecycleCallback associations.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed a bug where the dispose state was inconsistent with !mounted, causing page state anomalies.
dispose state was inconsistent with !mounted, causing page state
anomalies.Corrected the judgment issue when there is scaling in pageviewItem.
pageviewItem.routepage.Nothing published for this version
Nothing published for this version
Corrected EventStream and StateStream to be synchronously invoked streams.
EventStream and StateStream to be synchronously invoked streams.Register could not be removed immediately after being added.Ensured that the first owner start event is always triggered before build.
owner start event is always triggered before build.Optimized the judgment of onStop and onPause in RoutePage.
onStop and onPause in RoutePage.Nothing published for this version
- Initial version released.
Your coding agent can read these notes before it upgrades. Set up the MCP server →