androidTall constant

Device const androidTall

The shape almost every current Android phone is — a Pixel 9's screen: tall, a punch hole in the status bar, a gesture bar eating the bottom.

Implementation

static const androidTall = Device(
  'android-tall',
  'Tall phone',
  kind: DeviceKind.phone,
  platform: DevicePlatform.android,
  group: 'Android',
  // The panel's pixels over its ratio, as the platform reports it: 411.43
  // wide, which is why the table holds a quotient and not a rounding.
  width: 1080 / 2.625,
  height: 2424 / 2.625,
  pixelRatio: 2.625,
  insetTop: 54.1,
  insetBottom: 24,
  landscape: DeviceInsets(left: 54.1, top: 52.2, bottom: 24),
  keyboard: 336.4,
  landscapeKeyboard: 261.3,
  keypadKeyboard: 292.2,
  landscapeKeypadKeyboard: 220.2,
);