encrypted_prefs 1.0.0 encrypted_prefs: ^1.0.0 copied to clipboard
This is to make the storage much more easy, you can now save the models to local storage by calling a single function. And guess what, its also encrypted!
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add encrypted_prefs
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
encrypted_prefs: ^1.0.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:encrypted_prefs/encrypted_prefs.dart';