screenWidth property

double screenWidth
final

Implementation

static final double screenWidth = window.physicalSize.width / window.devicePixelRatio;