iphone16 constant
Device
const iphone16
The Dynamic Island generation — the same screen as an iPhone 15, and the one most users are holding.
Implementation
static const iphone16 = Device(
'iphone-16',
'iPhone 16',
kind: DeviceKind.phone,
platform: DevicePlatform.ios,
group: 'iOS',
width: 393,
height: 852,
pixelRatio: 3,
insetTop: 59,
insetBottom: 34,
// No `device_frame` body for this generation, so these follow the rule the
// three measured ones agree on rather than a measurement of their own: the
// status bar goes, the cutout inset lands on both sides at whatever the
// portrait top was, and the home indicator settles at 21. Said out loud
// because the rest of this table only claims numbers somebody measured.
landscape: DeviceInsets(left: 59, right: 59, bottom: 21),
keyboard: 336,
// 219, where the same generation's predecessors give 248: the landscape
// keyboard changed with the 16 family, and both 16s agree on it.
landscapeKeyboard: 219,
keypadKeyboard: 291,
landscapeKeypadKeyboard: 181,
);