storage_wrapper 2.0.0 copy "storage_wrapper: ^2.0.0" to clipboard
storage_wrapper: ^2.0.0 copied to clipboard

A wrapper for shared_preferences and flutter_secure_storage that provides an unified api and a convenient mocking interface.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add storage_wrapper

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

dependencies:
  storage_wrapper: ^2.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:storage_wrapper/storage_wrapper.dart';
1
likes
120
pub points
66%
popularity

Publisher

verified publishermagicleon94.dev

A wrapper for shared_preferences and flutter_secure_storage that provides an unified api and a convenient mocking interface.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_secure_storage, shared_preferences

More

Packages that depend on storage_wrapper