getWidth method

double? getWidth()

Implementation

double? getWidth() {
  if (orientation == PumaOrientation.horizontal) {
    return 8.0 * value;
  }

  return width;
}