easy_dynamic_theme 2.3.1 copy "easy_dynamic_theme: ^2.3.1" to clipboard
easy_dynamic_theme: ^2.3.1 copied to clipboard

Automatically get your OS defined Theme (Dynamic), force your prefered one (Light / Dark) and persist your choice in the device.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add easy_dynamic_theme

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

dependencies:
  easy_dynamic_theme: ^2.3.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:easy_dynamic_theme/easy_dynamic_theme.dart';
123
likes
160
points
1.5k
downloads

Publisher

verified publisherrlazom.dev

Weekly Downloads

Automatically get your OS defined Theme (Dynamic), force your prefered one (Light / Dark) and persist your choice in the device.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on easy_dynamic_theme