Can a bottomsheet be made scrollable? For example it opens initially upto a particular height and scrolls up as the content is scrolled. If yes, please help!
Solution 1: Darish
The DraggableScrollableSheet is here for that purpose.
This widget can be dragged along the vertical axis between its minChildSize
, which defaults to 0.25 and maxChildSize
, which defaults to 1.0.
You can use any Scrollable widget as child of DraggableScrollableSheet.
See the official video from Flutter team.