flutter height 25% of screen code example
Example 1: set container height flutter 25% of screen
MediaQuery.of(context).size.height * 0.25
Example 2: get screen height flutter
double height = MediaQuery.of(context).size.height;
MediaQuery.of(context).size.height * 0.25
double height = MediaQuery.of(context).size.height;