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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add juice_theme

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  juice_theme: ^0.1.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:juice_theme/juice_theme.dart';
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