flutter media query width 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
Example 3: set container height flutter 25% of screen
MediaQuery.of(context).size.height * 0.25