type_shared_prefs 1.0.0 type_shared_prefs: ^1.0.0 copied to clipboard
A Package that extends the shared prefs to a key value store which simplifies the api
Type Shared Prefs #
This package extends the base package with a simplified API on the KeyValueStore object to make it easier to write values to the shared prefs and to read.
usage is as simple as that
/// initialize a store
var store = KeyValueStore();
/// simple write
store.write("testKey", 42);
int? storedValue = store.getValue("testKey"); /// the type is inferred
store.delete("testKey");