settings_provider
library
Classes
-
BaseSettingsModel
-
-
Config<T extends SingleChildWidget>
-
-
ConfigBuilder<T extends SingleChildWidget>
-
-
ConfigModel
-
-
ISettingsStorage
-
-
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.
-
Scenario<T extends Enum>
-
A class for building settings associated with Enum values.
-
ScenarioBuilder<T extends Enum, P extends BaseSettingsModel>
-
-
ScenarioController
-
A class for managing
Enum
settings through Scenario
properties.
-
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
-