Basically showModalBottomSheet
must have some initial height. But then on dragging it, more content should be shown. Is this possible?
Basically showModalBottomSheet
must have some initial height. But then on dragging it, more content should be shown. Is this possible?
2
Answers
DraggableScrollableSheet which is in-built in flutter can be used inside the showModalBottonSheet to achieve this.
Yes it’s possible. you can do it with
isScrollControlled
in showModalBottomSheet like this:just set
isScrollControlled: true
and you can drag your showModalBottomSheet. Hope this helps you.