How to make container containing pageview and icon button use up the screen space

As the title says, plus i want it to work on different screen sizes.

if i try to make it work for mobile, it will look weird on ipad and web (does not utilise space below):

and if i make it work for ipad and web (by changing pageview height), it does not work for mobile:

rn the container has unset values for w, h, minw, minh, maxw, maxh. it contains a column which contains the page view and icon button. the column is set to max main axis size and i only adjust the height of this pageview widget:

2
2 replies