DeviceInfo constructor

const DeviceInfo({
  1. required DeviceIdentifier identifier,
  2. required String name,
  3. EdgeInsets? rotatedSafeAreas,
  4. required EdgeInsets safeAreas,
  5. required Path screenPath,
  6. required double pixelRatio,
  7. required CustomPainter framePainter,
  8. required Size frameSize,
  9. required Size screenSize,
})

Implementation

const DeviceInfo({
  required this.identifier,
  required this.name,
  this.rotatedSafeAreas,
  required this.safeAreas,
  required this.screenPath,
  required this.pixelRatio,
  required this.framePainter,
  required this.frameSize,
  required this.screenSize,
});