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