juice_theme 0.1.1 copy "juice_theme: ^0.1.1" to clipboard
juice_theme: ^0.1.1 copied to clipboard

App theme selection (mode + flavor) as a Juice bloc, with optional persistence behind a swappable 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.1 - 2026-06-16 #

Changed #

  • Allow juice_storage 2.0.0 (Hive CE migration). No API change.

0.1.0 - 2026-05-28 #

Added #

  • Initial release.
  • ThemeBloc — owns the theme selection: ThemeMode + optional named flavor.
  • ThemePersistence — vendor seam; the bloc depends on this, not on storage, so it is testable without real storage.
  • StorageThemePersistence — default persistence backed by StorageBloc (SharedPreferences). Pass null for in-memory-only.
  • ConveniencesetMode, toggle (light⇄dark), setFlavor; getters isDarkMode / isLightMode / isSystemMode.
  • Rebuild groupstheme:mode, theme:flavor.
0
likes
160
points
16
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

App theme selection (mode + flavor) as a Juice bloc, with optional persistence behind a swappable seam.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#theme #dark-mode #bloc #state-management #appearance

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, juice, juice_storage

More

Packages that depend on juice_theme