getProportionateScreenHeight static method

double getProportionateScreenHeight(
  1. double inputHeight
)

Implementation

static double getProportionateScreenHeight(double inputHeight) {
   double screenHeight = Get.size.height;
   // 812 is the layout height that designer use
   return (inputHeight / 926) * screenHeight;
 }