bottom_bar_with_sheet icon indicating copy to clipboard operation
bottom_bar_with_sheet copied to clipboard

Feature Request: Draggable bottom sheet

Open sabetAI opened this issue 3 years ago • 3 comments

Can you add an option to make the bottom sheet draggable to collapse? As in https://pub.dev/packages/modal_bottom_sheet.

sabetAI avatar Mar 07 '21 22:03 sabetAI

Hello @sabetAI 👋🏻 It's very good idea. I think I will try to add this functionality in next update.

You can propose a solution if you have an idea about creating this functionality.

Frezyx avatar Mar 09 '21 05:03 Frezyx

Hey @Frezyx 👋, great library 👌! The simplest way I can think of is to wrap your AnimatedContainer in a GestureDetector with onVerticalDrag* callback that checks for a downward drag with a velocity over a certain threshold. modal_bottom_sheet takes an additional step and allows you to sync the sheet with any scroll views inside the sheet. I can take a shot at implementing it and let you know what happens 👍.

sabetAI avatar Mar 12 '21 04:03 sabetAI

any update?

todosrc avatar Oct 13 '22 14:10 todosrc