theme_manager 2.0.4 copy "theme_manager: ^2.0.4" to clipboard
theme_manager: ^2.0.4 copied to clipboard

A theme manager for light, dark, and system themes. Change the theme dynamically and the selected theme will be persisted.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add theme_manager

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

dependencies:
  theme_manager: ^2.0.4

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:theme_manager/theme_manager.dart';
35
likes
160
points
739
downloads

Publisher

unverified uploader

Weekly Downloads

A theme manager for light, dark, and system themes. Change the theme dynamically and the selected theme will be persisted.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, platform, shared_preferences

More

Packages that depend on theme_manager