ThemeStorageAdapter class abstract
Interface for implementing custom theme storage solutions.
Implement this interface to persist theme preferences using your preferred storage mechanism (SharedPreferences, Hive, GetStorage, etc.).
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadTheme(
) → Future< String?> - Loads the previously saved theme name from persistent storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveTheme(
String themeName) → Future< void> - Saves the selected theme name to persistent storage.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited