flutter height in percentage code example
Example 1: set container height flutter 25% of screen
MediaQuery.of(context).size.height * 0.25
Example 2: flutter image size percentage
MediaQuery.of(context).size.width * 1
MediaQuery.of(context).size.height * 0.25
MediaQuery.of(context).size.width * 1