devicePixelRatio property Null safety

double devicePixelRatio

The device pixel ratio used to create the child image.

Implementation

double get devicePixelRatio => _devicePixelRatio;
void devicePixelRatio=(double value)

Implementation

set devicePixelRatio(double value) {
  if (value == devicePixelRatio) {
    return;
  }
  _devicePixelRatio = value;
  markNeedsPaint();
}