devicePixelRatio property

double devicePixelRatio

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

Implementation

static double get devicePixelRatio => _devicePixelRatio;