setPixelRatio method

dynamic setPixelRatio(
  1. double pixelRatio
)

Implementation

setPixelRatio(double pixelRatio) {
  this._pixelRatio = pixelRatio;

  this.setSize(this._width, this._height);
}