title: How to change the height of the container according to its child in Flutter?
body: <p>I want to change the container height dynamically ie., according to its child 
  For example: If I have a container and grid view as a child. What if the grid has 4 grids in the first case and 5 grids in the second case. So how do I fit the grid view in a container? How to changes its height according to the child.</p>