Pref class


hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


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

Static Properties

prefs ↔ SharedPreferences?
getter/setter pair

Static Methods

getPref() → dynamic
getPrefBoolean(String key, {dynamic defaultValue = false}) bool
getPrefDouble(String key, {double defaultValue = 0.0}) double
getPrefInt(String key, {int defaultValue = 0}) int
getPrefString(String key, {String defaultValue =}) String
setPrefBoolean(String key, bool value) → dynamic
setPrefDouble(String prefsKey, double value) → dynamic
setPrefInt(String prefsKey, int value) → dynamic
setPrefString(String prefsKey, String value) → dynamic


brightness → const String
contactTermAccepted → const String
hasAuth → const String
isBioEnable → const String
option1 → const String
option2 → const String
option3 → const String
option4 → const String
option5 → const String
option6 → const String
option7 → const String
option8 → const String
option9 → const String
password → const String
platform → const String
pushNotifications → const String
token → const String
username → const String