desktopInfo top-level property

DeviceInfo desktopInfo
final

Implementation

final desktopInfo = DeviceInfo.genericDesktopMonitor(
  platform: TargetPlatform.macOS,
  name: 'Large',
  id: 'large',
  screenSize: const Size(1920, 1080),
  windowPosition: Rect.fromCenter(
    center: const Offset(
      1920 * 0.5,
      1080 * 0.5,
    ),
    width: 1920,
    height: 1080,
  ),
);