Describe the bug
I have a SlidingUpPanel containing a SingleChildScrollView, using panelBuilder and its provided scrollcontroller. I noticed that I can't scroll to the bottom of the contents if I set maxHeight of the panel to anything bigger than the available height (i.e. typically the screen height - AppBar height).
Expected behavior
To be able to scroll down to see "index: 199". Instead I can only scroll to "index: 116" (on my particular phone, results may vary).
Screenshots
Additional context
Appears to be solvable by wrapping the panel in a LayoutBuilder, and providing the constrained maxHeight from the builder to the panel:
Describe the bug I have a SlidingUpPanel containing a SingleChildScrollView, using panelBuilder and its provided scrollcontroller. I noticed that I can't scroll to the bottom of the contents if I set maxHeight of the panel to anything bigger than the available height (i.e. typically the screen height - AppBar height).
To Reproduce
Expected behavior To be able to scroll down to see "index: 199". Instead I can only scroll to "index: 116" (on my particular phone, results may vary).
Screenshots
Additional context Appears to be solvable by wrapping the panel in a LayoutBuilder, and providing the constrained maxHeight from the builder to the panel:
Smartphone (please complete the following information):
Sample
main.dart