h static method

double h(
  1. BuildContext context
)

It tells you the exact value of the height of the screen

Implementation

static double h(BuildContext context) {
  return MediaQuery.of(context).size.height;
}