info top-level property

DeviceInfo info
final

Implementation

final info = DeviceInfo(
  identifier: const DeviceIdentifier(
    TargetPlatform.iOS,
    DeviceType.phone,
    'iphone-13',
  ),
  name: 'iPhone 13',
  pixelRatio: 3.0,
  screenSize: const Size(390.0, 844.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: 47.0,
    bottom: 21.0,
  ),
  frameSize: const Size(873.0, 1771.0),
  screenPath: Path()
    ..moveTo(45.1305, 129.973)
    ..cubicTo(45.0439, 131.645, 45, 133.329, 45, 135.022)
    ..lineTo(45, 1637.98)
    ..cubicTo(45, 1691.01, 88.002, 1734, 141.048, 1734)
    ..lineTo(731.952, 1734)
    ..cubicTo(784.998, 1734, 828, 1691.01, 828, 1637.98)
    ..lineTo(828, 135.022)
    ..cubicTo(828, 134.815, 827.999, 134.608, 827.998, 134.401)
    ..cubicTo(827.664, 81.6555, 784.791, 39, 731.952, 39)
    ..lineTo(596.761, 39)
    ..cubicTo(589.566, 41.5313, 584.408, 48.3863, 584.408, 56.4451)
    ..cubicTo(584.408, 81.9729, 563.708, 102.667, 538.174, 102.667)
    ..lineTo(332.826, 102.667)
    ..cubicTo(307.292, 102.667, 286.592, 81.9729, 286.592, 56.4451)
    ..cubicTo(286.592, 48.3863, 281.434, 41.5313, 274.239, 39)
    ..lineTo(141.048, 39)
    ..cubicTo(117.114, 39, 95.2253, 47.7516, 78.408, 62.2285)
    ..cubicTo(71.9295, 67.8055, 66.2036, 74.2321, 61.4035, 81.3353)
    ..cubicTo(51.9291, 95.3554, 46.0612, 112.011, 45.1305, 129.973)
    ..close()
    ..fillType = PathFillType.evenOdd,
);