dartway_shared_preferences 0.1.1
dartway_shared_preferences: ^0.1.1 copied to clipboard
Shared-preferences plugin for DartWay: typed riverpod providers over local storage, reached as dw.plugins.prefs. Optional by design.
Changelog #
0.1.1 #
Moves to dartway_flutter 0.2.0 (breaking DwFeatureSpec), so the two resolve together.
0.1.0 #
First public release — the shared-preferences plugin for DartWay.
Declare DwSharedPreferences() at startup and reach it as dw.plugins.prefs: a reactive
wrapper over SharedPreferences with typed riverpod providers
(dw.plugins.prefs.provider(key:, defaultValue:) and mappedProvider(...) for enums/custom types)
plus direct imperative access (dw.plugins.prefs.raw). Optional by design — an app that needs no
local storage never depends on it, and dartway_flutter knows nothing about it.