info top-level property

DeviceInfo info
final

Implementation

final info = DeviceInfo(
  identifier: const DeviceIdentifier(
    TargetPlatform.iOS,
    DeviceType.phone,
    'iphone-13-mini',
  ),
  name: 'iPhone 13 Mini',
  pixelRatio: 2.0,
  screenSize: const Size(375.0, 812.0),
  safeAreas: const EdgeInsets.only(
    left: 0.0,
    top: 47.0,
    right: 0.0,
    bottom: 34.0,
  ),
  rotatedSafeAreas: const EdgeInsets.only(
    left: 47.0,
    top: 0.0,
    right: 44.0,
    bottom: 21.0,
  ),
  frameSize: const Size(871.0, 1768.0),
  screenPath:
      Path()
        ..moveTo(253.851, 68.5)
        ..cubicTo(253.851, 91.1214, 277.423, 117.212, 302.5, 117.212)
        ..lineTo(567.5, 117.212)
        ..cubicTo(592.577, 117.212, 616.3, 93.5369, 616.3, 68.5)
        ..lineTo(616.3, 51.5152)
        ..cubicTo(616.3, 44.687, 621.816, 39.1516, 628.655, 39.1516)
        ..lineTo(632.588, 39.1516)
        ..cubicTo(674.957, 39.1516, 746.989, 39.1514, 763.84, 45.6752)
        ..cubicTo(789.255, 55.5149, 809.348, 75.6218, 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.48, 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.48, 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.6218, 81.7436, 55.5149, 107.159, 45.6752)
        ..cubicTo(124.01, 39.1514, 195.194, 39.1514, 237.563, 39.1514)
        ..lineTo(241.496, 39.1514)
        ..cubicTo(248.335, 39.1514, 253.851, 44.6868, 253.851, 51.515)
        ..lineTo(253.851, 68.5)
        ..close()
        ..fillType = PathFillType.evenOdd,
);