height method

double height(
  1. double heightSize
)

Implementation

double height(double heightSize) {
  return MediaQuery.of(this).size.height * heightSize;
}