ThemeService class abstract

Abstract interface for the ThemeService used to read and save theme properties.

Constructors

ThemeService()

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

init() Future<void>
ThemeService implementations may override this method to perform needed initialization and setup work.
load<T>(String key, T defaultValue) Future<T>
Loads a setting from the Theme service, stored with key string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save<T>(String key, T value) Future<void>
Save a setting to the Theme service, using key as its storage key.
toString() String
A string representation of this object.
inherited

Operators

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