From 053293839e541268addb39b33cc5e44113113b2b Mon Sep 17 00:00:00 2001 From: nyne Date: Sat, 29 Nov 2025 14:38:05 +0800 Subject: [PATCH] flutter 3.38.3 --- lib/foundation/app_page_route.dart | 5 +++-- lib/utils/io.dart | 2 +- pubspec.lock | 10 +++++----- pubspec.yaml | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/foundation/app_page_route.dart b/lib/foundation/app_page_route.dart index b1a0bfd..aedbd02 100644 --- a/lib/foundation/app_page_route.dart +++ b/lib/foundation/app_page_route.dart @@ -263,8 +263,9 @@ class _IOSBackGestureDetectorState extends State { bool _isPointerInHorizontalScrollable(Offset globalPosition) { final HitTestResult result = HitTestResult(); - WidgetsBinding.instance.hitTest(result, globalPosition); - + final binding = WidgetsBinding.instance; + binding.hitTestInView(result, globalPosition, binding.platformDispatcher.implicitView!.viewId); + for (final entry in result.path) { final target = entry.target; if (target is RenderViewport) { diff --git a/lib/utils/io.dart b/lib/utils/io.dart index d789d4b..0fca017 100644 --- a/lib/utils/io.dart +++ b/lib/utils/io.dart @@ -362,7 +362,7 @@ Future saveFile( } } -class _IOOverrides extends IOOverrides { +final class _IOOverrides extends IOOverrides { @override Directory createDirectory(String path) { if (App.isAndroid) { diff --git a/pubspec.lock b/pubspec.lock index 5182bbc..159d227 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -662,10 +662,10 @@ packages: dependency: transitive description: name: meta - sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c + sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" url: "https://pub.dev" source: hosted - version: "1.16.0" + version: "1.17.0" mime: dependency: "direct main" description: @@ -958,10 +958,10 @@ packages: dependency: transitive description: name: test_api - sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" + sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 url: "https://pub.dev" source: hosted - version: "0.7.6" + version: "0.7.7" typed_data: dependency: transitive description: @@ -1133,4 +1133,4 @@ packages: version: "0.0.13" sdks: dart: ">=3.8.0 <4.0.0" - flutter: ">=3.35.7" + flutter: ">=3.38.3" diff --git a/pubspec.yaml b/pubspec.yaml index 5a9fc2a..e1e30eb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.6.0+160 environment: sdk: '>=3.8.0 <4.0.0' - flutter: 3.35.7 + flutter: 3.38.3 dependencies: flutter: