Implementation
final info = DeviceInfo(
identifier: const DeviceIdentifier(
TargetPlatform.android,
DeviceType.phone,
'oneplus-8-pro',
),
name: 'OnePlus 8 Pro',
pixelRatio: 4.0,
safeAreas: const EdgeInsets.only(
left: 0.0,
top: 40.0,
right: 0.0,
bottom: 20.0,
),
rotatedSafeAreas: const EdgeInsets.only(
left: 40.0,
top: 24.0,
right: 40.0,
bottom: 0.0,
),
screenSize: const Size(360.0, 800.0),
frameSize: const Size(852, 1865.0),
screenPath:
Path()
..moveTo(30.3263, 75.7513)
..cubicTo(21.7354, 91.0915, 21.7354, 111.551, 21.7354, 152.469)
..lineTo(21.7354, 1708.02)
..cubicTo(21.7354, 1748.94, 21.7354, 1769.4, 30.3263, 1784.74)
..cubicTo(36.3978, 1795.58, 45.3492, 1804.53, 56.1908, 1810.6)
..cubicTo(71.531, 1819.19, 91.9901, 1819.19, 132.908, 1819.19)
..lineTo(719.093, 1819.19)
..cubicTo(760.011, 1819.19, 780.47, 1819.19, 795.81, 1810.6)
..cubicTo(806.652, 1804.53, 815.603, 1795.58, 821.675, 1784.74)
..cubicTo(830.266, 1769.4, 830.266, 1748.94, 830.266, 1708.02)
..lineTo(830.266, 152.469)
..cubicTo(830.266, 111.551, 830.266, 91.0915, 821.675, 75.7513)
..cubicTo(815.603, 64.9098, 806.652, 55.9584, 795.81, 49.8868)
..cubicTo(780.47, 41.2959, 760.011, 41.2959, 719.093, 41.2959)
..lineTo(132.908, 41.2959)
..cubicTo(91.9901, 41.2959, 71.531, 41.2959, 56.1908, 49.8868)
..cubicTo(45.3492, 55.9584, 36.3978, 64.9098, 30.3263, 75.7513)
..close()
..moveTo(130.47, 88.7347)
..cubicTo(130.47, 100.738, 120.739, 110.469, 108.736, 110.469)
..cubicTo(96.7319, 110.469, 87.001, 100.738, 87.001, 88.7347)
..cubicTo(87.001, 76.731, 96.7319, 67, 108.736, 67)
..cubicTo(120.739, 67, 130.47, 76.731, 130.47, 88.7347)
..close()
..fillType = PathFillType.evenOdd,
);