screenDevicePixelRatio top-level property

double get screenDevicePixelRatio

设备的像素密度

Implementation

double get screenDevicePixelRatio => BaseScreenUtil().pixelRatio ?? 1.0;