getProportionateScreenWidth function

double getProportionateScreenWidth(
  1. double inputWidth
)

Implementation

double getProportionateScreenWidth(double inputWidth) {
  double screenWidth = SizeConfig.screenWidth;
  return (inputWidth / 375.0) * screenWidth;
}