screenWidthPx property

double get screenWidthPx

当前设备宽度 px The vertical extent of this size. px

Implementation

double get screenWidthPx => screenHeight * pixelRatio;