bottom sheet patch

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-22 12:45:58 +08:00
parent 4ca9dfecb4
commit 66752093e4
8 changed files with 25 additions and 5121 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;
},
),