bump: flutter:3.27.0 rust:1.83.0

This commit is contained in:
2024-12-14 13:48:24 +08:00
parent 4b70ec1914
commit c112a920ec
47 changed files with 187 additions and 160 deletions

View File

@ -68,7 +68,7 @@ class InputMethodDialogUI extends HookConsumerWidget {
controller: srcTextCtrl,
maxLines: 5,
placeholderStyle:
TextStyle(color: Colors.white.withOpacity(.6)),
TextStyle(color: Colors.white.withValues(alpha: .6)),
style: TextStyle(fontSize: 16, color: Colors.white),
onChanged: (str) async {
final text = model.onTextChange("src", str);
@ -99,7 +99,7 @@ class InputMethodDialogUI extends HookConsumerWidget {
controller: destTextCtrl,
maxLines: 5,
placeholderStyle:
TextStyle(color: Colors.white.withOpacity(.6)),
TextStyle(color: Colors.white.withValues(alpha: .6)),
style: TextStyle(fontSize: 16, color: Colors.white),
enabled: true,
onChanged: (str) {
@ -163,7 +163,7 @@ class InputMethodDialogUI extends HookConsumerWidget {
S.current.input_method_disclaimer,
style: TextStyle(
fontSize: 13,
color: Colors.white.withOpacity(.6),
color: Colors.white.withValues(alpha: .6),
),
),
)

View File

@ -7,7 +7,7 @@ part of 'input_method_dialog_ui_model.dart';
// **************************************************************************
String _$inputMethodDialogUIModelHash() =>
r'ec8d0bb5118b74fa12341ed8048dde9335f57878';
r'397b36296183404c07298d83c14f4bce590375fc';
/// See also [InputMethodDialogUIModel].
@ProviderFor(InputMethodDialogUIModel)

View File

@ -214,4 +214,4 @@ class InputMethodServer extends _$InputMethodServer {
return Response.notFound("Not Found");
}
}
}
}

View File

@ -10,7 +10,6 @@ import 'server.dart';
part 'server_qr_dialog_ui.g.dart';
@riverpod
class ServerQrState extends _$ServerQrState {
@override
@ -62,7 +61,7 @@ class ServerQrDialogUI extends HookConsumerWidget {
] else
Text(
S.current.input_method_scan_qr_code,
style: TextStyle(color: Colors.white.withOpacity(.8)),
style: TextStyle(color: Colors.white.withValues(alpha: .8)),
),
SizedBox(height: 24),
Row(
@ -97,7 +96,8 @@ class ServerQrDialogUI extends HookConsumerWidget {
hasMultipleUrls
? "${urls[index.value]} (${index.value + 1} / ${urls.length})"
: urls[index.value],
style: TextStyle(fontSize: 13, color: Colors.white.withOpacity(.6)),
style: TextStyle(
fontSize: 13, color: Colors.white.withValues(alpha: .6)),
),
],
),
@ -120,4 +120,4 @@ class ServerQrDialogUI extends HookConsumerWidget {
],
);
}
}
}