screenPhysicalHeight property

double get screenPhysicalHeight

The Physical height of the screen

Implementation

double get screenPhysicalHeight {
  double physicalHeight;
  final context = this.context;
  if (context == null) {
    physicalHeight = mainWindow.physicalSize.height;
  } else {
    final media = MediaQuery.of(context);
    physicalHeight = media.size.height * media.devicePixelRatio;
  }
  return physicalHeight;
}