height static method

double height(
  1. double inputHeight
)

Height-based scaling (Vertical containers)

Implementation

static double height(double inputHeight) {
  double hScale = (screenHeight / _designHeight).clamp(_minScale, _maxScale);
  if (screenWidth > screenHeight) {
    hScale *= 0.92;
  }
  return inputHeight * hScale;
}