getScreenHeight method

double getScreenHeight()

Implementation

double getScreenHeight() {
  double heightCalc = useShortestSide
      ? (windowWidth < windowHeight ? windowHeight : windowWidth)
      : windowHeight;

  return heightCalc;
}