windowsWindow constant

Device const windowsWindow

A Windows window, at the scale Windows actually ships at.

1.5 rather than the 2 this entry used to carry: 200% is a 4K laptop, and 150% is what a mainstream Windows machine is set to. The ratio is not decoration — it picks which asset resolution loads and how big the texture behind the preview is.

Implementation

static const windowsWindow = Device(
  'windows-window',
  'Windows window',
  kind: DeviceKind.desktop,
  platform: DevicePlatform.windows,
  group: 'Desktop',
  width: 1280,
  height: 800,
  pixelRatio: 1.5,
);