setPixelRatio method

dynamic setPixelRatio(
  1. double pixelRatio
)

Implementation

setPixelRatio(double pixelRatio) {
  _pixelRatio = pixelRatio;

  setSize(_width, _height);
}