devicetheme 1.1.0 copy "devicetheme: ^1.1.0" to clipboard
devicetheme: ^1.1.0 copied to clipboard

A Flutter package to read and return the device theme and set app theme.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add devicetheme

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

dependencies:
  devicetheme: ^1.1.0

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:devicetheme/devicetheme.dart';
1
likes
40
pub points
0%
popularity

Publisher

verified publishereastglint.com

A Flutter package to read and return the device theme and set app theme.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter, shared_preferences

More

Packages that depend on devicetheme