Pref class
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
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 = Str.na}) → 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
Constants
- 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