pixelRatio method

double pixelRatio()

Pixel Ratio of a given device

Implementation

double pixelRatio() {
  return sizingWindow().devicePixelRatio;
}