PreferencesRepository class

Manages app preferences: demo mode, color customizations, onboarding status.

Constructors

PreferencesRepository({required SharedPreferencesAsync prefs})

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

get<T>(PrefKey<T> key) Future<T>
Gets a preference value, returning the key's default if not set.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set<T>(PrefKey<T> key, T value) Future<void>
Sets a preference value.
toString() String
A string representation of this object.
inherited

Operators

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