persistent_context library Null safety

Classes

PersistentContext
Provides persistent data from shared preferences to all the descending widgets and allows to update it synchronously.
PersistentContextNotifier
A ValueNotifier that holds the current value of the shared preferences and handles its asynchronous reading and writing.