devicePixelRatio property

set devicePixelRatio (double value)

Implementation

set devicePixelRatio(double value) {
  final tolerance = 1 / value;
  if (_tolerance == tolerance) return;
  _tolerance = tolerance;
  markNeedsLayout();
}