calcH static method

double calcH(
  1. double height
)

Implementation

static double calcH(double height) {
  double factor = Get.size.height / height;
  return (Get.size.height / factor).roundToDouble();
}