type_shared_prefs 1.0.0 copy "type_shared_prefs: ^1.0.0" to clipboard
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");
1
likes
140
points
24
downloads

Publisher

verified publisheramazdev.de

Weekly Downloads

A Package that extends the shared prefs to a key value store which simplifies the api

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on type_shared_prefs