portraitSetHeight method

double portraitSetHeight(
  1. num height
)

Implementation

double portraitSetHeight(num height) {
  if (_orientation == Orientation.portrait) {
    return setHeight(height);
  }
  final portraitScale = portraitHeight / _uiSize.height;
  return height * portraitScale;
}