A ListView will take only the space required for the items to show by default.
To make the ListView grow, it's possible to add `flex-grow: 1` to the styling either in uss or by code. If the desired behavior is to have the ListView container grow, but not the content, then additionally set the ScrollView's flex-grow to 0.