DeviceInfo constructor

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

Device screen configuration.

Implementation

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