info top-level property

DeviceInfo info
final

Implementation

final info = DeviceInfo(
  identifier: const DeviceIdentifier(
    TargetPlatform.iOS,
    DeviceType.phone,
    'iphone-12-mini',
  ),
  name: 'iPhone 12 Mini',
  pixelRatio: 2.0,
  screenSize: const Size(375.0, 812.0),
  safeAreas: const EdgeInsets.only(
    left: 0.0,
    top: 44.0,
    right: 0.0,
    bottom: 34.0,
  ),
  rotatedSafeAreas: const EdgeInsets.only(
    left: 44.0,
    top: 0.0,
    right: 44.0,
    bottom: 21.0,
  ),
  frameSize: const Size(871.0, 1768.0),
  screenPath:
      Path()
        ..moveTo(203.851, 63.8789)
        ..cubicTo(203.851, 88.9158, 224.074, 109.212, 249.151, 109.212)
        ..lineTo(621.848, 109.212)
        ..cubicTo(646.925, 109.212, 667.148, 88.9158, 667.148, 63.8789)
        ..lineTo(667.148, 51.5152)
        ..cubicTo(667.148, 44.687, 672.664, 39.1516, 679.503, 39.1516)
        ..lineTo(683.436, 39.1516)
        ..cubicTo(725.805, 39.1516, 746.989, 39.1516, 763.84, 45.6754)
        ..cubicTo(789.255, 55.5151, 809.348, 75.622, 819.18, 101.056)
        ..cubicTo(825.699, 117.919, 825.699, 139.119, 825.699, 181.519)
        ..lineTo(825.699, 1586.48)
        ..cubicTo(825.699, 1628.88, 825.699, 1650.08, 819.18, 1666.94)
        ..cubicTo(809.348, 1692.38, 789.255, 1712.49, 763.84, 1722.32)
        ..cubicTo(747.437, 1728.68, 726.927, 1728.84, 686.766, 1728.85)
        ..cubicTo(685.671, 1728.85, 684.561, 1728.85, 683.436, 1728.85)
        ..lineTo(187.563, 1728.85)
        ..cubicTo(186.438, 1728.85, 185.328, 1728.85, 184.233, 1728.85)
        ..cubicTo(144.072, 1728.84, 123.562, 1728.68, 107.159, 1722.32)
        ..cubicTo(81.7436, 1712.49, 61.6514, 1692.38, 51.8189, 1666.94)
        ..cubicTo(45.2998, 1650.08, 45.2998, 1628.88, 45.2998, 1586.48)
        ..lineTo(45.2998, 181.519)
        ..cubicTo(45.2998, 139.119, 45.2998, 117.919, 51.8189, 101.056)
        ..cubicTo(61.6514, 75.622, 81.7436, 55.5151, 107.159, 45.6754)
        ..cubicTo(124.01, 39.1516, 145.194, 39.1516, 187.563, 39.1516)
        ..lineTo(191.496, 39.1516)
        ..cubicTo(198.335, 39.1516, 203.851, 44.687, 203.851, 51.5152)
        ..lineTo(203.851, 63.8789)
        ..close()
        ..fillType = PathFillType.evenOdd,
);