height static method

double height(
  1. dynamic context
)

Getting the full height of the screen

Implementation

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