encrypt_shared_preferences 0.2.5
encrypt_shared_preferences: ^0.2.5 copied to clipboard
Encrypted SharedPreferences for critical data.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add encrypt_shared_preferences
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
encrypt_shared_preferences: ^0.2.5
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:encrypt_shared_preferences/enc_shared_pref.dart';
import 'package:encrypt_shared_preferences/encryptor.dart';
import 'package:encrypt_shared_preferences/exp.dart';
import 'package:encrypt_shared_preferences/listener.dart';
import 'package:encrypt_shared_preferences/shared_preferences_decorator.dart';
import 'package:encrypt_shared_preferences/strings.dart';