scaleHeight method
Scale height based on design height and current screen height.
Implementation
double scaleHeight(num height) {
_assertInitialized();
if (height < 0) {
throw RangeError('Height must be non-negative.');
}
return height.toDouble() * _scaleHeight;
}