largeDesktopWindow constant
DevicePreset
const largeDesktopWindow
A large desktop window: 1920×1080 at 2x.
Implementation
static const DevicePreset largeDesktopWindow = DevicePreset(
id: 'desktop-large',
name: 'Large Desktop Window',
brand: 'Generic',
platform: TargetPlatform.macOS,
portraitSize: ui.Size(1920, 1080),
devicePixelRatio: 2.0,
kind: DeviceKind.desktop,
frame: DeviceFrame(
size: ui.Size(1922, 1109),
screenOffset: ui.Offset(1, 28),
screenPath:
'M 0,0 H 1920 V 1068 A 12,12 0 0 1 1908,1080 H 12 A 12,12 0 0 1 0,1068 Z',
body:
'<svg viewBox="0 0 1922 1109">\n'
' <path d="M 12,0 H 1910 A 12,12 0 0 1 1922,12 V 1097 A 12,12 0 0 1 1910,1109 H 12 A 12,12 0 0 1 0,1097 V 12 A 12,12 0 0 1 12,0 Z" fill="#26282c"/>\n'
' <circle cx="16" cy="14" r="6" fill="#ff5f57"/>\n'
' <circle cx="36" cy="14" r="6" fill="#febc2e"/>\n'
' <circle cx="56" cy="14" r="6" fill="#28c840"/>\n'
' <rect x="891" y="9" width="140" height="10" rx="5" fill="#c9ccd1" fill-opacity="0.35"/>\n'
'</svg>',
),
);