shared_preferences_manager 0.0.6 icon indicating copy to clipboard operation
shared_preferences_manager: ^0.0.6 copied to clipboard

A manager to make dynamic type shared preferences easier to manage.

shared_preferences_manager #

Usage #

To use this plugin, add shared_preferences_manager as a dependency in your pubspec.yaml file.

1. Instantiate the class #

SharedPreferencesManager spm = SharedPreferencesManager();

Set Key/Value pair #

spm.setKV('key', 'value');

Get Key/Value pair #

var result = await spm.getKV('key', 'default value');

Remove preference #

spm.removePreference('test_key');

Clear preferences #

spm.removePreference('all);
2
likes
130
pub points
21%
popularity

Publisher

unverified uploader

A manager to make dynamic type shared preferences easier to manage.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

shared_preferences

More

Packages that depend on shared_preferences_manager