android constant

PreviewDevice const android

The Android reference phone: 1080 × 2400 px at 420 dpi (DPR 2.625), i.e. 411.43 × 914.29 dp — the oracle's material_oracle AVD.

Implementation

static const PreviewDevice android = PreviewDevice(
  size: Size(1080 / 2.625, 2400 / 2.625),
  devicePixelRatio: 2.625,
);