juice_lifecycle 0.1.0 copy "juice_lifecycle: ^0.1.0" to clipboard
juice_lifecycle: ^0.1.0 copied to clipboard

App lifecycle (foreground/background/resume) as a Juice bloc, behind a swappable provider seam.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 - 2026-05-28 #

Added #

  • Initial release.
  • LifecycleBloc — owns the app's foreground/background/resume phase.
  • LifecycleProvider — vendor seam; the bloc depends on this, not on WidgetsBinding, so it is testable without a real binding.
  • WidgetsLifecycleProvider — default provider backed by Flutter's AppLifecycleListener.
  • Convenience gettersisForeground, isBackground, resumedFromBackground, plus previous phase.
  • Rebuild grouplifecycle:state.
0
likes
150
points
9
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

App lifecycle (foreground/background/resume) as a Juice bloc, behind a swappable provider seam.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#lifecycle #bloc #state-management #app-state #foreground

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, juice

More

Packages that depend on juice_lifecycle