Preferences class

Constructors

Preferences()

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

encrypter ↔ Encrypter
getter/setter pair
isSupport bool
no setter
iv ↔ IV?
getter/setter pair
prefs ↔ SharedPreferences?
getter/setter pair

Static Methods

getBool(String key, bool defaultValue) bool
getDouble(String key, double defaultValue) double
getInt(String key, int defaultValue) int
getString(String key, String defaultValue) String
getStringList(String key, List<String> defaultValue) List<String>
getStringSecurity(String key, String defaultValue) String
init({required Key key, required IV iv, bool initialApIcon = true}) Future<void>
remove(String key) Future<bool>?
setBool(String key, bool data) Future<void>
setDouble(String key, double data) Future<void>
setInt(String key, int data) Future<void>
setString(String key, String data) Future<void>
setStringList(String key, List<String> data) Future<void>
setStringSecurity(String key, String data) Future<void>