size property

Size get size

Implementation

Size get size {
  final currentWindow = window;
  if (currentWindow == null) return Size.zero;
  return currentWindow.physicalSize / currentWindow.devicePixelRatio;
}