I want to build a bottom sheet widget which is able to drag up to full screen.
Can anyone tell me how to do this?
Google map has a widget is able to do this. Here is the screenshot (check attached image):
Before drag up:
Neither the modal nor the persistent bottomsheets can be dragged into view. The persistent bottomsheet must be triggered open (e.g., by pressing a button) & THEN it may be dragged up & down until finally out of view. I wish there was an option to allow it to be dragged into view...
Rubber should meet your needs; I gave it a try but it always freaks out when I call setstate (so a no go for me)... Let me know if you have the same problems.
来源:https://stackoverflow.com/questions/53379577/how-to-use-flutter-to-build-a-bottom-sheet-widget-which-is-able-to-drag-up-to-fu