settings_provider library

Classes

BaseProperty<T>
BaseSettingsModel
Config<T extends SingleChildWidget>
ConfigBuilder<T extends SingleChildWidget>
ConfigBuilder allows you to build a tree of widgets depending on the target platform on which the app is launched
ConfigModel
EnumProperty<T extends Enum>
A class for building settings associated with Enum values.
EnumPropertyBuilder<T extends Enum, P extends BaseSettingsModel>
A class that allows you to build a tree of widgets based on the stored (or set) Enum value
EnumPropertyConverter
ISettingsStorage
IStorageWorker
MultiSettings
Widget for implementing settings divided into areas of responsibility. You must have separate lists of properties to implement the settings.
Property<T>
Class for declarative description of app settings.
Settings<T extends BaseSettingsModel>
Widget for implementing settings in the widget tree. It uses SettingsNotifier for implementation and SettingsModel for settings change notifications. Given the importance of having top-level settings, it's better to wrap the MaterialApp widget in Settings to make the settings global to our app, or wrap the app's build method altogether.
SettingsController
A controller that allows you to manage immutable settings configuration
SettingsModel
This class is just a wrapper over SettingsController and implements the same interface as SettingsController to manage the controller calls and notify listeners via ChangeNotifier
SettingsNotifier<T extends BaseSettingsModel>
A class that inherits InheritedNotifier and serves only to implement SettingsModel in the context
SettingsProvider<T extends BaseSettingsModel>
Need to provide Settings in MultiSettings. A class that helps to nest SettingsNotifier inside each other with corresponding unique SettingsModel models to enable separation of settings into separate areas of responsibility and a corresponding separate notification system for each settings model.
SharedPrefStorage
UIProperty<I, O>
A property for declaratively describing settings that can be converted to the format required for display