screenWidth property

double get screenWidth

Implementation

static double get screenWidth {
  return window.physicalSize.width / window.devicePixelRatio;
}