How to deal with containers?

Whats the optimal way of using containers? like is there any 'correct' way to wrap let's say a column containing a listview and a button at the bottom. would it be container -> column -> listview, button? and if i want to adjust the height of the container what should the dimensions be (height,minheight,maxheight)? should i use max height for the container and inf height for listview or should i set a height for listview and use inf for container? i keep getting this error: