AppLocalSettingModel class

选择的模式 0 - 跟随系统 (默认) 1 - 亮色模式 2 - 深色模式

Available extensions
Annotations
  • @HiveType(typeId: 88)
  • @freezed

Constructors

AppLocalSettingModel({@HiveField(0, defaultValue: 0) @Default(0) int themeIndex, @HiveField(1, defaultValue: 0) @Default(0) int themeModel})
const
factory

Properties

copyWith → $AppLocalSettingModelCopyWith<AppLocalSettingModel>
Create a copy of AppLocalSettingModel with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themeIndex int
no setterinherited
themeModel int
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