DeviceInfo.genericDesktopMonitor constructor
DeviceInfo.genericDesktopMonitor({
- required TargetPlatform platform,
- required String id,
- required String name,
- required Size screenSize,
- required Rect windowPosition,
- EdgeInsets safeAreas = EdgeInsets.zero,
- double pixelRatio = 2.0,
- GenericDesktopMonitorFramePainter? framePainter,
Implementation
factory DeviceInfo.genericDesktopMonitor({
required TargetPlatform platform,
required String id,
required String name,
required Size screenSize,
required Rect windowPosition,
EdgeInsets safeAreas = EdgeInsets.zero,
double pixelRatio = 2.0,
GenericDesktopMonitorFramePainter? framePainter,
}) =>
buildGenericDesktopMonitorDevice(
platform: platform,
id: id,
name: name,
screenSize: screenSize,
windowPosition: windowPosition,
safeAreas: safeAreas,
pixelRatio: pixelRatio,
framePainter: framePainter,
);