How to resolve bottom overflowed by infinity pixels?
The issue seems to be unreproducible. The child
widget defined on GestureDetector
should set its height and prevent pixel overflows.
But if you need to define the height of your screen to avoid bottom overflows, you can either use LayoutBuilder or MediaQuery to fetch the screen dimensions.