bump: Flutter 3.32.1 Rust 1.87.0

fix: rsi launcher patch 2.4.0
This commit is contained in:
2025-05-31 17:27:21 +08:00
parent 2139bfb652
commit 5d735632bf
48 changed files with 5239 additions and 5455 deletions

View File

@ -14,7 +14,7 @@ part 'input_method_dialog_ui_model.g.dart';
part 'input_method_dialog_ui_model.freezed.dart';
@freezed
class InputMethodDialogUIState with _$InputMethodDialogUIState {
abstract class InputMethodDialogUIState with _$InputMethodDialogUIState {
factory InputMethodDialogUIState(
Map<String, String>? keyMaps,
Map<String, String>? worldMaps, {

View File

@ -1,3 +1,4 @@
// dart format width=80
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
@ -9,95 +10,60 @@ part of 'input_method_dialog_ui_model.dart';
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
/// @nodoc
mixin _$InputMethodDialogUIState {
Map<String, String>? get keyMaps => throw _privateConstructorUsedError;
Map<String, String>? get worldMaps => throw _privateConstructorUsedError;
bool get enableAutoCopy => throw _privateConstructorUsedError;
bool get isEnableAutoTranslate => throw _privateConstructorUsedError;
bool get isAutoTranslateWorking => throw _privateConstructorUsedError;
Map<String, String>? get keyMaps;
Map<String, String>? get worldMaps;
bool get enableAutoCopy;
bool get isEnableAutoTranslate;
bool get isAutoTranslateWorking;
/// Create a copy of InputMethodDialogUIState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$InputMethodDialogUIStateCopyWith<InputMethodDialogUIState> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $InputMethodDialogUIStateCopyWith<$Res> {
factory $InputMethodDialogUIStateCopyWith(InputMethodDialogUIState value,
$Res Function(InputMethodDialogUIState) then) =
_$InputMethodDialogUIStateCopyWithImpl<$Res, InputMethodDialogUIState>;
@useResult
$Res call(
{Map<String, String>? keyMaps,
Map<String, String>? worldMaps,
bool enableAutoCopy,
bool isEnableAutoTranslate,
bool isAutoTranslateWorking});
}
/// @nodoc
class _$InputMethodDialogUIStateCopyWithImpl<$Res,
$Val extends InputMethodDialogUIState>
implements $InputMethodDialogUIStateCopyWith<$Res> {
_$InputMethodDialogUIStateCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of InputMethodDialogUIState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
$InputMethodDialogUIStateCopyWith<InputMethodDialogUIState> get copyWith =>
_$InputMethodDialogUIStateCopyWithImpl<InputMethodDialogUIState>(
this as InputMethodDialogUIState, _$identity);
@override
$Res call({
Object? keyMaps = freezed,
Object? worldMaps = freezed,
Object? enableAutoCopy = null,
Object? isEnableAutoTranslate = null,
Object? isAutoTranslateWorking = null,
}) {
return _then(_value.copyWith(
keyMaps: freezed == keyMaps
? _value.keyMaps
: keyMaps // ignore: cast_nullable_to_non_nullable
as Map<String, String>?,
worldMaps: freezed == worldMaps
? _value.worldMaps
: worldMaps // ignore: cast_nullable_to_non_nullable
as Map<String, String>?,
enableAutoCopy: null == enableAutoCopy
? _value.enableAutoCopy
: enableAutoCopy // ignore: cast_nullable_to_non_nullable
as bool,
isEnableAutoTranslate: null == isEnableAutoTranslate
? _value.isEnableAutoTranslate
: isEnableAutoTranslate // ignore: cast_nullable_to_non_nullable
as bool,
isAutoTranslateWorking: null == isAutoTranslateWorking
? _value.isAutoTranslateWorking
: isAutoTranslateWorking // ignore: cast_nullable_to_non_nullable
as bool,
) as $Val);
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is InputMethodDialogUIState &&
const DeepCollectionEquality().equals(other.keyMaps, keyMaps) &&
const DeepCollectionEquality().equals(other.worldMaps, worldMaps) &&
(identical(other.enableAutoCopy, enableAutoCopy) ||
other.enableAutoCopy == enableAutoCopy) &&
(identical(other.isEnableAutoTranslate, isEnableAutoTranslate) ||
other.isEnableAutoTranslate == isEnableAutoTranslate) &&
(identical(other.isAutoTranslateWorking, isAutoTranslateWorking) ||
other.isAutoTranslateWorking == isAutoTranslateWorking));
}
@override
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(keyMaps),
const DeepCollectionEquality().hash(worldMaps),
enableAutoCopy,
isEnableAutoTranslate,
isAutoTranslateWorking);
@override
String toString() {
return 'InputMethodDialogUIState(keyMaps: $keyMaps, worldMaps: $worldMaps, enableAutoCopy: $enableAutoCopy, isEnableAutoTranslate: $isEnableAutoTranslate, isAutoTranslateWorking: $isAutoTranslateWorking)';
}
}
/// @nodoc
abstract class _$$InputMethodDialogUIStateImplCopyWith<$Res>
implements $InputMethodDialogUIStateCopyWith<$Res> {
factory _$$InputMethodDialogUIStateImplCopyWith(
_$InputMethodDialogUIStateImpl value,
$Res Function(_$InputMethodDialogUIStateImpl) then) =
__$$InputMethodDialogUIStateImplCopyWithImpl<$Res>;
@override
abstract mixin class $InputMethodDialogUIStateCopyWith<$Res> {
factory $InputMethodDialogUIStateCopyWith(InputMethodDialogUIState value,
$Res Function(InputMethodDialogUIState) _then) =
_$InputMethodDialogUIStateCopyWithImpl;
@useResult
$Res call(
{Map<String, String>? keyMaps,
@ -108,14 +74,12 @@ abstract class _$$InputMethodDialogUIStateImplCopyWith<$Res>
}
/// @nodoc
class __$$InputMethodDialogUIStateImplCopyWithImpl<$Res>
extends _$InputMethodDialogUIStateCopyWithImpl<$Res,
_$InputMethodDialogUIStateImpl>
implements _$$InputMethodDialogUIStateImplCopyWith<$Res> {
__$$InputMethodDialogUIStateImplCopyWithImpl(
_$InputMethodDialogUIStateImpl _value,
$Res Function(_$InputMethodDialogUIStateImpl) _then)
: super(_value, _then);
class _$InputMethodDialogUIStateCopyWithImpl<$Res>
implements $InputMethodDialogUIStateCopyWith<$Res> {
_$InputMethodDialogUIStateCopyWithImpl(this._self, this._then);
final InputMethodDialogUIState _self;
final $Res Function(InputMethodDialogUIState) _then;
/// Create a copy of InputMethodDialogUIState
/// with the given fields replaced by the non-null parameter values.
@ -128,25 +92,25 @@ class __$$InputMethodDialogUIStateImplCopyWithImpl<$Res>
Object? isEnableAutoTranslate = null,
Object? isAutoTranslateWorking = null,
}) {
return _then(_$InputMethodDialogUIStateImpl(
freezed == keyMaps
? _value._keyMaps
return _then(_self.copyWith(
keyMaps: freezed == keyMaps
? _self.keyMaps
: keyMaps // ignore: cast_nullable_to_non_nullable
as Map<String, String>?,
freezed == worldMaps
? _value._worldMaps
worldMaps: freezed == worldMaps
? _self.worldMaps
: worldMaps // ignore: cast_nullable_to_non_nullable
as Map<String, String>?,
enableAutoCopy: null == enableAutoCopy
? _value.enableAutoCopy
? _self.enableAutoCopy
: enableAutoCopy // ignore: cast_nullable_to_non_nullable
as bool,
isEnableAutoTranslate: null == isEnableAutoTranslate
? _value.isEnableAutoTranslate
? _self.isEnableAutoTranslate
: isEnableAutoTranslate // ignore: cast_nullable_to_non_nullable
as bool,
isAutoTranslateWorking: null == isAutoTranslateWorking
? _value.isAutoTranslateWorking
? _self.isAutoTranslateWorking
: isAutoTranslateWorking // ignore: cast_nullable_to_non_nullable
as bool,
));
@ -155,8 +119,8 @@ class __$$InputMethodDialogUIStateImplCopyWithImpl<$Res>
/// @nodoc
class _$InputMethodDialogUIStateImpl implements _InputMethodDialogUIState {
_$InputMethodDialogUIStateImpl(
class _InputMethodDialogUIState implements InputMethodDialogUIState {
_InputMethodDialogUIState(
final Map<String, String>? keyMaps, final Map<String, String>? worldMaps,
{this.enableAutoCopy = false,
this.isEnableAutoTranslate = false,
@ -194,16 +158,20 @@ class _$InputMethodDialogUIStateImpl implements _InputMethodDialogUIState {
@JsonKey()
final bool isAutoTranslateWorking;
/// Create a copy of InputMethodDialogUIState
/// with the given fields replaced by the non-null parameter values.
@override
String toString() {
return 'InputMethodDialogUIState(keyMaps: $keyMaps, worldMaps: $worldMaps, enableAutoCopy: $enableAutoCopy, isEnableAutoTranslate: $isEnableAutoTranslate, isAutoTranslateWorking: $isAutoTranslateWorking)';
}
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$InputMethodDialogUIStateCopyWith<_InputMethodDialogUIState> get copyWith =>
__$InputMethodDialogUIStateCopyWithImpl<_InputMethodDialogUIState>(
this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$InputMethodDialogUIStateImpl &&
other is _InputMethodDialogUIState &&
const DeepCollectionEquality().equals(other._keyMaps, _keyMaps) &&
const DeepCollectionEquality()
.equals(other._worldMaps, _worldMaps) &&
@ -224,38 +192,70 @@ class _$InputMethodDialogUIStateImpl implements _InputMethodDialogUIState {
isEnableAutoTranslate,
isAutoTranslateWorking);
@override
String toString() {
return 'InputMethodDialogUIState(keyMaps: $keyMaps, worldMaps: $worldMaps, enableAutoCopy: $enableAutoCopy, isEnableAutoTranslate: $isEnableAutoTranslate, isAutoTranslateWorking: $isAutoTranslateWorking)';
}
}
/// @nodoc
abstract mixin class _$InputMethodDialogUIStateCopyWith<$Res>
implements $InputMethodDialogUIStateCopyWith<$Res> {
factory _$InputMethodDialogUIStateCopyWith(_InputMethodDialogUIState value,
$Res Function(_InputMethodDialogUIState) _then) =
__$InputMethodDialogUIStateCopyWithImpl;
@override
@useResult
$Res call(
{Map<String, String>? keyMaps,
Map<String, String>? worldMaps,
bool enableAutoCopy,
bool isEnableAutoTranslate,
bool isAutoTranslateWorking});
}
/// @nodoc
class __$InputMethodDialogUIStateCopyWithImpl<$Res>
implements _$InputMethodDialogUIStateCopyWith<$Res> {
__$InputMethodDialogUIStateCopyWithImpl(this._self, this._then);
final _InputMethodDialogUIState _self;
final $Res Function(_InputMethodDialogUIState) _then;
/// Create a copy of InputMethodDialogUIState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$InputMethodDialogUIStateImplCopyWith<_$InputMethodDialogUIStateImpl>
get copyWith => __$$InputMethodDialogUIStateImplCopyWithImpl<
_$InputMethodDialogUIStateImpl>(this, _$identity);
$Res call({
Object? keyMaps = freezed,
Object? worldMaps = freezed,
Object? enableAutoCopy = null,
Object? isEnableAutoTranslate = null,
Object? isAutoTranslateWorking = null,
}) {
return _then(_InputMethodDialogUIState(
freezed == keyMaps
? _self._keyMaps
: keyMaps // ignore: cast_nullable_to_non_nullable
as Map<String, String>?,
freezed == worldMaps
? _self._worldMaps
: worldMaps // ignore: cast_nullable_to_non_nullable
as Map<String, String>?,
enableAutoCopy: null == enableAutoCopy
? _self.enableAutoCopy
: enableAutoCopy // ignore: cast_nullable_to_non_nullable
as bool,
isEnableAutoTranslate: null == isEnableAutoTranslate
? _self.isEnableAutoTranslate
: isEnableAutoTranslate // ignore: cast_nullable_to_non_nullable
as bool,
isAutoTranslateWorking: null == isAutoTranslateWorking
? _self.isAutoTranslateWorking
: isAutoTranslateWorking // ignore: cast_nullable_to_non_nullable
as bool,
));
}
}
abstract class _InputMethodDialogUIState implements InputMethodDialogUIState {
factory _InputMethodDialogUIState(
final Map<String, String>? keyMaps, final Map<String, String>? worldMaps,
{final bool enableAutoCopy,
final bool isEnableAutoTranslate,
final bool isAutoTranslateWorking}) = _$InputMethodDialogUIStateImpl;
@override
Map<String, String>? get keyMaps;
@override
Map<String, String>? get worldMaps;
@override
bool get enableAutoCopy;
@override
bool get isEnableAutoTranslate;
@override
bool get isAutoTranslateWorking;
/// Create a copy of InputMethodDialogUIState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$InputMethodDialogUIStateImplCopyWith<_$InputMethodDialogUIStateImpl>
get copyWith => throw _privateConstructorUsedError;
}
// dart format on

View File

@ -20,7 +20,7 @@ part 'server.g.dart';
part 'server.freezed.dart';
@freezed
class InputMethodServerState with _$InputMethodServerState {
abstract class InputMethodServerState with _$InputMethodServerState {
const factory InputMethodServerState({
@Default(false) bool isServerStartup,
String? serverAddressText,

View File

@ -1,3 +1,4 @@
// dart format width=80
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
@ -9,129 +10,27 @@ part of 'server.dart';
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
/// @nodoc
mixin _$InputMethodServerState {
bool get isServerStartup => throw _privateConstructorUsedError;
String? get serverAddressText => throw _privateConstructorUsedError;
bool get isServerStartup;
String? get serverAddressText;
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$InputMethodServerStateCopyWith<InputMethodServerState> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $InputMethodServerStateCopyWith<$Res> {
factory $InputMethodServerStateCopyWith(InputMethodServerState value,
$Res Function(InputMethodServerState) then) =
_$InputMethodServerStateCopyWithImpl<$Res, InputMethodServerState>;
@useResult
$Res call({bool isServerStartup, String? serverAddressText});
}
/// @nodoc
class _$InputMethodServerStateCopyWithImpl<$Res,
$Val extends InputMethodServerState>
implements $InputMethodServerStateCopyWith<$Res> {
_$InputMethodServerStateCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? isServerStartup = null,
Object? serverAddressText = freezed,
}) {
return _then(_value.copyWith(
isServerStartup: null == isServerStartup
? _value.isServerStartup
: isServerStartup // ignore: cast_nullable_to_non_nullable
as bool,
serverAddressText: freezed == serverAddressText
? _value.serverAddressText
: serverAddressText // ignore: cast_nullable_to_non_nullable
as String?,
) as $Val);
}
}
/// @nodoc
abstract class _$$InputMethodServerStateImplCopyWith<$Res>
implements $InputMethodServerStateCopyWith<$Res> {
factory _$$InputMethodServerStateImplCopyWith(
_$InputMethodServerStateImpl value,
$Res Function(_$InputMethodServerStateImpl) then) =
__$$InputMethodServerStateImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({bool isServerStartup, String? serverAddressText});
}
/// @nodoc
class __$$InputMethodServerStateImplCopyWithImpl<$Res>
extends _$InputMethodServerStateCopyWithImpl<$Res,
_$InputMethodServerStateImpl>
implements _$$InputMethodServerStateImplCopyWith<$Res> {
__$$InputMethodServerStateImplCopyWithImpl(
_$InputMethodServerStateImpl _value,
$Res Function(_$InputMethodServerStateImpl) _then)
: super(_value, _then);
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? isServerStartup = null,
Object? serverAddressText = freezed,
}) {
return _then(_$InputMethodServerStateImpl(
isServerStartup: null == isServerStartup
? _value.isServerStartup
: isServerStartup // ignore: cast_nullable_to_non_nullable
as bool,
serverAddressText: freezed == serverAddressText
? _value.serverAddressText
: serverAddressText // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// @nodoc
class _$InputMethodServerStateImpl implements _InputMethodServerState {
const _$InputMethodServerStateImpl(
{this.isServerStartup = false, this.serverAddressText});
@override
@JsonKey()
final bool isServerStartup;
@override
final String? serverAddressText;
@override
String toString() {
return 'InputMethodServerState(isServerStartup: $isServerStartup, serverAddressText: $serverAddressText)';
}
_$InputMethodServerStateCopyWithImpl<InputMethodServerState>(
this as InputMethodServerState, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$InputMethodServerStateImpl &&
other is InputMethodServerState &&
(identical(other.isServerStartup, isServerStartup) ||
other.isServerStartup == isServerStartup) &&
(identical(other.serverAddressText, serverAddressText) ||
@ -142,30 +41,130 @@ class _$InputMethodServerStateImpl implements _InputMethodServerState {
int get hashCode =>
Object.hash(runtimeType, isServerStartup, serverAddressText);
@override
String toString() {
return 'InputMethodServerState(isServerStartup: $isServerStartup, serverAddressText: $serverAddressText)';
}
}
/// @nodoc
abstract mixin class $InputMethodServerStateCopyWith<$Res> {
factory $InputMethodServerStateCopyWith(InputMethodServerState value,
$Res Function(InputMethodServerState) _then) =
_$InputMethodServerStateCopyWithImpl;
@useResult
$Res call({bool isServerStartup, String? serverAddressText});
}
/// @nodoc
class _$InputMethodServerStateCopyWithImpl<$Res>
implements $InputMethodServerStateCopyWith<$Res> {
_$InputMethodServerStateCopyWithImpl(this._self, this._then);
final InputMethodServerState _self;
final $Res Function(InputMethodServerState) _then;
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? isServerStartup = null,
Object? serverAddressText = freezed,
}) {
return _then(_self.copyWith(
isServerStartup: null == isServerStartup
? _self.isServerStartup
: isServerStartup // ignore: cast_nullable_to_non_nullable
as bool,
serverAddressText: freezed == serverAddressText
? _self.serverAddressText
: serverAddressText // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// @nodoc
class _InputMethodServerState implements InputMethodServerState {
const _InputMethodServerState(
{this.isServerStartup = false, this.serverAddressText});
@override
@JsonKey()
final bool isServerStartup;
@override
final String? serverAddressText;
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$InputMethodServerStateCopyWith<_InputMethodServerState> get copyWith =>
__$InputMethodServerStateCopyWithImpl<_InputMethodServerState>(
this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _InputMethodServerState &&
(identical(other.isServerStartup, isServerStartup) ||
other.isServerStartup == isServerStartup) &&
(identical(other.serverAddressText, serverAddressText) ||
other.serverAddressText == serverAddressText));
}
@override
int get hashCode =>
Object.hash(runtimeType, isServerStartup, serverAddressText);
@override
String toString() {
return 'InputMethodServerState(isServerStartup: $isServerStartup, serverAddressText: $serverAddressText)';
}
}
/// @nodoc
abstract mixin class _$InputMethodServerStateCopyWith<$Res>
implements $InputMethodServerStateCopyWith<$Res> {
factory _$InputMethodServerStateCopyWith(_InputMethodServerState value,
$Res Function(_InputMethodServerState) _then) =
__$InputMethodServerStateCopyWithImpl;
@override
@useResult
$Res call({bool isServerStartup, String? serverAddressText});
}
/// @nodoc
class __$InputMethodServerStateCopyWithImpl<$Res>
implements _$InputMethodServerStateCopyWith<$Res> {
__$InputMethodServerStateCopyWithImpl(this._self, this._then);
final _InputMethodServerState _self;
final $Res Function(_InputMethodServerState) _then;
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
_$$InputMethodServerStateImplCopyWith<_$InputMethodServerStateImpl>
get copyWith => __$$InputMethodServerStateImplCopyWithImpl<
_$InputMethodServerStateImpl>(this, _$identity);
$Res call({
Object? isServerStartup = null,
Object? serverAddressText = freezed,
}) {
return _then(_InputMethodServerState(
isServerStartup: null == isServerStartup
? _self.isServerStartup
: isServerStartup // ignore: cast_nullable_to_non_nullable
as bool,
serverAddressText: freezed == serverAddressText
? _self.serverAddressText
: serverAddressText // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
abstract class _InputMethodServerState implements InputMethodServerState {
const factory _InputMethodServerState(
{final bool isServerStartup,
final String? serverAddressText}) = _$InputMethodServerStateImpl;
@override
bool get isServerStartup;
@override
String? get serverAddressText;
/// Create a copy of InputMethodServerState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$InputMethodServerStateImplCopyWith<_$InputMethodServerStateImpl>
get copyWith => throw _privateConstructorUsedError;
}
// dart format on