persist_theme 1.7.0 copy "persist_theme: ^1.7.0" to clipboard
persist_theme: ^1.7.0 copied to clipboard

discontinued

A flutter plugin for persisting the theme data. Support for Dark Mode.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add persist_theme

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

dependencies:
  persist_theme: ^1.7.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:persist_theme/persist_theme.dart';