encrypt_shared_preferences 0.5.0
encrypt_shared_preferences: ^0.5.0 copied to clipboard
When you use EncryptedSharedPreferences, the data is encrypted before being stored, and it is decrypted when retrieved. This adds an extra layer of protection to sensitive information like user creden [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add encrypt_shared_preferencesWith Flutter:
$ flutter pub add encrypt_shared_preferencesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
encrypt_shared_preferences: ^0.5.0Alternatively, your editor might support dart pub get or 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/provider.dart';