portraitSetWidth method

double portraitSetWidth(
  1. num width
)

Implementation

double portraitSetWidth(num width) {
  if (_orientation == Orientation.portrait) {
    return setWidth(width);
  }
  final portraitScale = portraitWidth / _uiSize.width;
  return width * portraitScale;
}