Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Draggable bottom sheet #28

Open
sabetAI opened this issue Mar 7, 2021 · 3 comments
Open

Feature Request: Draggable bottom sheet #28

sabetAI opened this issue Mar 7, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sabetAI
Copy link

sabetAI commented Mar 7, 2021

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

@Frezyx
Copy link
Owner

Frezyx commented Mar 9, 2021

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 Frezyx added the enhancement New feature or request label Mar 9, 2021
@Frezyx Frezyx pinned this issue Mar 9, 2021
@sabetAI
Copy link
Author

sabetAI commented Mar 12, 2021

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 👍.

@Frezyx Frezyx added the help wanted Extra attention is needed label Apr 12, 2021
@todosrc
Copy link

todosrc commented Oct 13, 2022

any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants