devicePixelRatio property

double get devicePixelRatio

获取当前设备的屏幕像素比

Implementation

static double get devicePixelRatio => _devicePixelRatio;