ios bottom sheet patch

related #1906

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-29 21:08:55 +08:00
parent 6feb1c15ee
commit 5937d83aa9
4 changed files with 118 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/packages/flutter/lib/src/material/bottom_sheet.dart b/packages/flutter/lib/src/material/bottom_sheet.dart
index ec9e4270863..c850912afe1 100644
--- a/packages/flutter/lib/src/material/bottom_sheet.dart
+++ b/packages/flutter/lib/src/material/bottom_sheet.dart
@@ -1412,6 +1412,7 @@ class _BottomSheetGestureDetector extends StatelessWidget {
..onStart = onVerticalDragStart
..onUpdate = onVerticalDragUpdate
..onEnd = onVerticalDragEnd
+ ..gestureSettings = MediaQuery.maybeGestureSettingsOf(context)
..onlyAcceptDragOnThreshold = true;
},
),