flutter set height using media query code example
Example 1: mediaquery height flutter
height: MediaQuery.of(context).size.height
Example 2: media query width flutter
width: MediaQuery.of(context).size.width
height: MediaQuery.of(context).size.height
width: MediaQuery.of(context).size.width