getScreenHeight static method

double getScreenHeight(
  1. BuildContext context
)

Gets the current screen height

Implementation

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