pixelRatio property
num
pixelRatio
Gets and sets the pixel ratio of the Stage.
Implementation
num get pixelRatio => _pixelRatio;
Implementation
set pixelRatio(num value) {
_pixelRatio = value;
_updateCanvasSize();
}