feat: input_method_auto_translate

This commit is contained in:
2024-11-23 21:51:36 +08:00
parent cd788b6fe5
commit f8a846e706
17 changed files with 229 additions and 24 deletions

View File

@ -157,13 +157,13 @@ class _$Aria2cModelStateImpl
(identical(other.aria2cDir, aria2cDir) ||
other.aria2cDir == aria2cDir) &&
(identical(other.aria2c, aria2c) || other.aria2c == aria2c) &&
(identical(other.aria2globalStat, aria2globalStat) ||
other.aria2globalStat == aria2globalStat));
const DeepCollectionEquality()
.equals(other.aria2globalStat, aria2globalStat));
}
@override
int get hashCode =>
Object.hash(runtimeType, aria2cDir, aria2c, aria2globalStat);
int get hashCode => Object.hash(runtimeType, aria2cDir, aria2c,
const DeepCollectionEquality().hash(aria2globalStat));
/// Create a copy of Aria2cModelState
/// with the given fields replaced by the non-null parameter values.

View File

@ -240,7 +240,7 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
other is _$Unp4kcStateImpl &&
(identical(other.startUp, startUp) || other.startUp == startUp) &&
const DeepCollectionEquality().equals(other._files, _files) &&
(identical(other.fs, fs) || other.fs == fs) &&
const DeepCollectionEquality().equals(other.fs, fs) &&
(identical(other.curPath, curPath) || other.curPath == curPath) &&
(identical(other.endMessage, endMessage) ||
other.endMessage == endMessage) &&
@ -255,7 +255,7 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
runtimeType,
startUp,
const DeepCollectionEquality().hash(_files),
fs,
const DeepCollectionEquality().hash(fs),
curPath,
endMessage,
tempOpenFile,