height function

double height(
  1. double inputHeight
)

-- screenHeight is the height of the screen the app is run on desginHeight is the design screen height

Implementation

double height(double inputHeight) {
  double screenHeight = SizeAdapterConfig.screenHeight;
  double desginHeight = SizeAdapterConfig.designHeight;
  return (inputHeight / desginHeight) * screenHeight;
}