shared_prefs_manager

Last updated:

0 purchases

shared_prefs_manager Image
shared_prefs_manager Images
Add to Cart

Description:

shared prefs manager

A Dart package for easily using SharedPreferences.
Features #
Provides access to the majority of SharedPreference's API. Allows getting and setting of SharedPreferences values. Also has other miscellaneous API references to SP.
Getting started #
Add shared_prefs_manager to your dependencies list. Do this either on the CLI or manually pasting the dependency into your pubspec.yaml.
Usage #
See example.dart for a full example.
To set an int value:
setIntValue("myIntValue", 1121);
copied to clipboard
To get an int value:
getIntValue("myIntValue");
copied to clipboard
Additional information #

The documentation for the SharedPreferences package (as of 9/28/2022) is here.
If you find a bug, file an issue or send a merge request with the fix.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.