From a0386f36ef7fdfdc400c12e67667d9c87b5c8418 Mon Sep 17 00:00:00 2001 From: Qun Cheng <36861262+QuncCccccc@users.noreply.github.com> Date: Wed, 26 Apr 2023 05:29:47 -0700 Subject: [PATCH] Set `showDragHandle` to true for `BottomSheet` (#1741) One line change to show the drag handle on the `ModalBottomSheetRoute`. Screenshot 2023-04-18 at 4 56 49 PM ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. Co-authored-by: Qun Cheng --- experimental/material_3_demo/lib/component_screen.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/material_3_demo/lib/component_screen.dart b/experimental/material_3_demo/lib/component_screen.dart index 20d6c54c0..e44280380 100644 --- a/experimental/material_3_demo/lib/component_screen.dart +++ b/experimental/material_3_demo/lib/component_screen.dart @@ -1546,6 +1546,7 @@ class _BottomSheetSectionState extends State { ), onPressed: () { showModalBottomSheet( + showDragHandle: true, context: context, // TODO: Remove when this is in the framework https://github.com/flutter/flutter/issues/118619 constraints: const BoxConstraints(maxWidth: 640),