Prefs class

/////////////////////////////////////////////////////////////////////////////

Constructors

Prefs({List<Pref> preferences = const []})

Properties

hashCode int
The hash code for this object.
no setterinherited
preferences List<Pref>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildPreferencesScreen(BuildContext context, String title) → void
getBool(String prefKey) Future<bool>
getDateTime(String prefKey) Future<DateTime?>
getInt(String prefKey) Future<int?>
getPref(String prefKey) Pref?
getPrefs() List<Pref>
getString(String prefKey) Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideEnabledAttr(Pref pref) Future<Pref>
remove(String prefKey) Future<void>
removePref(Pref pref) → void
setBool(String prefKey, bool value) Future<void>
setDateTime(String prefKey, DateTime value) Future<void>
setInt(String prefKey, int value) Future<void>
setPref(Pref pref) → void
setString(String prefKey, String value) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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