how to give 10% of screen width using mediaquery in flutter 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