getWidthPixel top-level property

double get getWidthPixel

手机屏幕的宽分辨率

Implementation

double get getWidthPixel => mediaQuery.size.width * getDevicePixelRatio;