You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Complete, API-incompatible redesign of the package.
Breaking changes
Replace the 0.x observer and wrapper APIs with a composable lifecycle tree
built around LifecycleController, LifecycleScope, normalized LifecycleConstraint, and immutable LifecycleSnapshot values.
Use deterministic LifecycleEvent and LifecycleTransition notifications
through the standard ChangeNotifier API.
Defer viewport activation until scrolling settles by default; use ViewportLifecycleActivationPolicy.immediate for immediate activation.
Require Flutter 3.32 or newer.
Added
Support App, Navigator 1.0/2.0, PageView, TabBarView, and scrollable viewport
lifecycle composition.
Add LifecycleApp, LifecycleBoundary, LifecycleListener, LifecycleBuilder, and LifecycleStateMixin.
Add stable page identity, nested Navigator support, batched viewport
measurement, an interactive example, and comprehensive test suites.