prf 2.1.3 copy "prf: ^2.1.3" to clipboard
prf: ^2.1.3 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 Flutter:

 $ flutter pub add prf

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

dependencies:
  prf: ^2.1.3

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:prf/prf.dart';
11
likes
160
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences, synchronized

More

Packages that depend on prf