devicePixelRatio property Null safety
The device pixel ratio used to create the child image.
Implementation
double get devicePixelRatio => _devicePixelRatio;
Implementation
set devicePixelRatio(double value) {
  if (value == devicePixelRatio) {
    return;
  }
  _devicePixelRatio = value;
  markNeedsPaint();
}