The best type-safe wrapper over SharedPreferences. ⭐ Why so? -> strongly typed cards for access to storage -> don't think about type, use get|set -> can work with nullable values -> callback based updates
I propose to discuss what the functionality should look like to allow convenient use of Cardoteka with the Watcher mixin to attach a callback to a ChangeNotifier object.
I propose to discuss what the functionality should look like to allow convenient use of
Cardoteka
with theWatcher
mixin to attach a callback to aChangeNotifier
object.I'm considering this kind of hagfish for now:
This will allow you to do this in the future:
And then attach the wiretap like this:
Please, semantics, logic, and naming are both important. Share your thoughts :) 🙏