ZetaDefaultThemeService class

A default implementation of ZetaThemeService that uses SharedPreferences to store the theme data.

Inheritance

Constructors

ZetaDefaultThemeService()
Constructor for ZetaDefaultThemeService.
const

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<ZetaThemeServiceData>
Asynchronously load the theme data.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveTheme({required ZetaThemeServiceData themeData}) → Future<void>
Saves the provided theme data as the application's theme.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited