pixelRatio property

double? get pixelRatio

The size of the media in logical pixels (e.g, the size of the screen).

Implementation

static double? get pixelRatio => _pixelRatio;