prf 2.1.1 copy "prf: ^2.1.1" to clipboard
prf: ^2.1.1 copied to clipboard

Easily save and load values locally. Effortless local persistence with type safety and zero boilerplate. Just get, set, and go. Drop-in replacement for raw SharedPreferences.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add prf

With Flutter:

 $ flutter pub add prf

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

dependencies:
  prf: ^2.1.1

Alternatively, 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:prf/prf.dart';
11
likes
0
points
195
downloads

Publisher

verified publisherjozz.biz

Weekly Downloads

Easily save and load values locally. Effortless local persistence with type safety and zero boilerplate. Just get, set, and go. Drop-in replacement for raw SharedPreferences.

Repository (GitHub)
View/report issues

Topics

#shared-preferences #storage #state #persistence #local-storage

License

unknown (license)

Dependencies

flutter, shared_preferences, synchronized

More

Packages that depend on prf