mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-22 09:53:21 +03:00
update pubspec.lock, remove some deprecated (#7110)
* fix some warnings and some deprecated reported by `flutter analyze` Signed-off-by: 21pages <pages21@163.com> * pubspec.lock changes from flutter 3.16.9 Signed-off-by: 21pages <pages21@163.com> * pubspec.lock changes from `flutter pub upgrade` Signed-off-by: 21pages <pages21@163.com> --------- Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -2555,7 +2555,7 @@ Future<void> start_service(bool is_start) async {
|
||||
}
|
||||
}
|
||||
|
||||
typedef Future<bool> WhetherUseRemoteBlock();
|
||||
typedef WhetherUseRemoteBlock = Future<bool> Function();
|
||||
Widget buildRemoteBlock({required Widget child, WhetherUseRemoteBlock? use}) {
|
||||
var block = false.obs;
|
||||
return Obx(() => MouseRegion(
|
||||
@@ -2982,3 +2982,11 @@ Future<bool> setServerConfig(
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
ColorFilter? svgColor(Color? color) {
|
||||
if (color == null) {
|
||||
return null;
|
||||
} else {
|
||||
return ColorFilter.mode(color, BlendMode.srcIn);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user