prefman library
Classes
-
Option<
T> - Defines an Option in a Preference.
-
Preference<
T> - You can think of this class as a persistent observable variable with validation can easily be used to create Setting UI using title, description, options & getSelectedOption.
- PrefMan
- The Core Class of this library. Should only be used for initialization.
- PrefManDriver
- PrefManInMemoryDriver
- SettingManifest
- enables easier grouping of Preferences and backup & restore functionality.
Typedefs
-
ValueValidator<
T> = bool Function(T value) -
if the
value
is valid returnstrue
if it's invalid returnsfalse