AppLocalSettingModel class
Properties
-
box
→ BoxBase?
-
Get the box in which this object is stored. Returns
null
if object has
not been added to a box yet.
no setterinherited
-
getThemeMode
→ ThemeMode
-
获取系统主题mode
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isInBox
→ bool
-
Returns whether this object is currently stored in a box.
no setterinherited
-
key
→ dynamic
-
Get the key associated with this object. Returns
null
if object has
not been added to a box yet.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
themeIndex
↔ int
-
主题下标
getter/setter pair
-
themeModel
↔ int
-
选择的模式
0
- 跟随系统 (默认)
1
- 亮色模式
2
- 深色模式
getter/setter pair
Methods
-
delete()
→ Future<void>
-
Deletes this object from the box it is stored in.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
save()
→ Future<void>
-
Persists this object.
inherited
-
toString()
→ String
-
A string representation of this object.
override