height static method
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;
}