shared_preferences_manager 0.0.6 copy "shared_preferences_manager: ^0.0.6" to clipboard
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
2%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

shared_preferences

More

Packages that depend on shared_preferences_manager