Can’t listen to scroll from background in Bottom Sheet
I’m using showModalBottomSheet
with DraggableScrollableSheet
, I need to listen to scrolling of the bottom sheet (when scrolling to close the bottom sheet), it’s working fine when the scroll is from the body (DraggableScrollableSheet
/ SingleChildScrollView
widget) but when the scroll is from the background (BackdropFilter
widget) it doesn’t work, here’s an example of the problem:
Keyboard overlap issue with showModalBottomSheet
I’m unable to show the ModalBottomSheet on top of they keyboard input. Currently the keyboard opens and hides the fields in the back. I have used padding with MediaQuery as seen in other questions but that does not work for me.
Flutter showModalBottomSheet in diferrent class
Let’s say I have a text and button in main screen(class) and showModalBottomSheet in different class, when main screen button pressed, it will trigger showModalBottomSheet that contain a button, that button will dismissed the modal bottom sheet and change(updateUI) text in main screen.