juice_theme 0.1.0 copy "juice_theme: ^0.1.0" to clipboard
juice_theme: ^0.1.0 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.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
0
points
17
downloads

Documentation

Documentation

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

Topics

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

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

flutter, juice, juice_storage

More

Packages that depend on juice_theme