devicePixelRatio property
double
get
devicePixelRatio
The device pixel ratio used to determine the size of the paint area.
Implementation
double get devicePixelRatio => _devicePixelRatio;
set
devicePixelRatio
(double value)
Implementation
set devicePixelRatio(double value) {
if (value == devicePixelRatio) {
return;
}
_devicePixelRatio = value;
markNeedsLayout();
}