iphone13Mini constant
Device
const iphone13Mini
Implementation
static const iphone13Mini = Device(
'iphone-13-mini',
'iPhone 13 mini',
kind: DeviceKind.phone,
platform: DevicePlatform.ios,
group: 'iOS',
width: 375,
height: 812,
// 2, not 3, because `device_frame`'s own body says 2 and the frame test
// pins them together. The mini renders at 3× and downsamples on the real
// device. The 2026-08-21 measurement pass could not settle it either: no
// simulator will render this app at a mini's geometry at all — see the
// keyboard note below.
pixelRatio: 2,
insetTop: 47,
insetBottom: 34,
// Asymmetric because the hardware is: the notch side measures 47 and the
// far side only its rounded corner. `device_frame`'s own body for this
// model, which is where these four numbers come from.
landscape: DeviceInsets(left: 47, right: 44, bottom: 21),
// **Not measured, and the only entry that is not.** Both mini device types
// render this app at 320×568 under iOS 26.2 — the iPhone-SE-1
// compatibility geometry — so no simulator here can be asked what a mini's
// keyboard is. These are [iphone13]'s, the nearest measured device of the
// same class: a notched phone whose keyboard sits above a home indicator,
// where [iphoneSe] at the same width has neither and gives 75 less.
keyboard: 335,
landscapeKeyboard: 248,
// Inherited with the rest of this entry's keyboard numbers, and unset in
// landscape for the reason [iphone13] is.
keypadKeyboard: 308,
);