getScreenHeight static method
Retrieves the screen height.
Returns a double representing the screen height.
Example:
double screenHeight = EaseDevice.getScreenHeight();
Implementation
static double getScreenHeight() {
return MediaQuery.of(Utils.globalKey.currentContext!).size.height;
}