SharedPrefService class

Constructors

SharedPrefService()

Properties

hashCode int
The hash code for this object.
no setterinherited
prefs ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteThemeKey() Future<void>
clear saved theme in shared preferences
getSavedThemeKey() String
get saved theme key from shared preferences
loadInstance() Future
get shared prefernce instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveThemeKey(String themeKey) Future<void>
save theme key to shared preferences
toString() String
A string representation of this object.
inherited

Operators

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