widthPixel property

double get widthPixel

手机屏幕的宽分辨率

Implementation

double get widthPixel => mediaQuery.size.width * devicePixelRatio;