setPixelRatio method

void setPixelRatio(
  1. double value
)

Implementation

void setPixelRatio(double value) {
  _pixelRatio = value;
  setSize(width, height, false);
}