anlifecycle 3.0.3 copy "anlifecycle: ^3.0.3" to clipboard
anlifecycle: ^3.0.3 copied to clipboard

AnLifecycle draws on lifecycle in androidx to implement lifecycle on Flutter, Developers can sense the LifecycleState under the current context wherever you need it.

3.0.3 #

  • Optimize the README content and update the example to version 3.0.

3.0.2 #

  • Fix the exception where the observer of LifecycleRegistryState calls remove during destroy.

3.0.1 #

  • In the implementation of ILifecycleRegistry, allow calling addLifecycleObserver in the constructor.

3.0.0 #

  • Refactored the registry content to ensure that the timing of invocations during registry registration is correct.

2.0.4 #

  • Fixed the destroy error in registerLifecycleObserverToOwner.

2.0.3 #

  • Removed findLifecycleObserver from LifecycleObserverRegistry and replaced it with extension compatibility mode.
  • Fixed a bug in LifecycleRouteOwner where route records were incorrect in LifecycleNavigatorObserver.didReplace.
  • Delayed the handling of the resume event for Rouge to align with the behavior of other LifecycleOwnerWidgets (triggered after widget.build).
  • Added removeCallback to LifecycleCallbacks.

2.0.2 #

  • 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 build.

2.0.1 #

  • addOnDidUpdateWidget causes performance issues and will be removed in the next version.
  • Provided LifecycleObserverRegistryDelegate to allow customization of LifecycleObserverRegistryMixin.
  • Added LifecycleObserverRegistryElementMixin to mix the registry into custom elements.

2.0.0 #

  • The lifecycle provider now uses InheritedWidget to ensure timely notifications of changes.
  • Added handling for LifecycleCallback associations.
  • Optimized and adjusted the project structure (which may introduce some compatibility issues).

1.0.5 #

  • Fixed a bug where the dispose state was inconsistent with !mounted, causing page state anomalies.

1.0.4 #

  • Corrected the judgment issue when there is scaling in pageviewItem.
  • Fixed the transparency judgment in routepage.

1.0.3 #

  • Corrected EventStream and StateStream to be synchronously invoked streams.
  • Fixed the exception where Register could not be removed immediately after being added.

1.0.2 #

  • Ensured that the first owner start event is always triggered before build.

1.0.1 #

  • Optimized the judgment of onStop and onPause in RoutePage.

1.0.0 #

  • Initial version released.
1
likes
150
pub points
41%
popularity

Publisher

verified publisheraymtools.com

AnLifecycle draws on lifecycle in androidx to implement lifecycle on Flutter, Developers can sense the LifecycleState under the current context wherever you need it.

Repository (GitHub)
View/report issues

Topics

#lifecycle #androidx #androidx-lifecycle #life #resume

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on anlifecycle