The built-in device preset catalog, generated from the
device specs (device_specs/ at the root of the
repository) — the same catalog the DevTools panel offers,
frame artwork and system UI included.
Static const entries: unreferenced presets — artwork included — tree-shake away from apps that never mention them. Metrics are logical pixels; iOS landscape insets follow real UIKit behavior (notch/island mirrored to the sides, 21px home indicator).
33 devices.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
byId(
String id) → DevicePreset? -
Returns the built-in preset with the given
id, or null.
Constants
-
all
→ const List<
DevicePreset> - All built-in presets.
- galaxyS24 → const DevicePreset
- Samsung Galaxy S24 — punch-hole, gesture navigation.
- galaxyS25 → const DevicePreset
- Samsung Galaxy S25 — punch-hole, gesture navigation.
- galaxyTabS10Plus → const DevicePreset
- Samsung Galaxy Tab S10+.
- galaxyTabS11 → const DevicePreset
- Samsung Galaxy Tab S11.
- galaxyZFlip8 → const DevicePreset
- Samsung Galaxy Z Flip8 — clamshell fold, horizontal crease at mid-height.
- galaxyZFold8 → const DevicePreset
- Samsung Galaxy Z Fold8 — 7.6" inner display; the wide-format fold opens vertically, so the crease is horizontal at mid-height.
- galaxyZFold8Ultra → const DevicePreset
- Samsung Galaxy Z Fold8 Ultra — 8" inner display, book-style fold with a vertical crease at mid-width.
- iPad10 → const DevicePreset
- iPad (10th generation).
- iPadA16 → const DevicePreset
- iPad (A16) — 11" entry model.
- iPadAir11M2 → const DevicePreset
- iPad Air 11" (M2).
- iPadAir11M4 → const DevicePreset
- iPad Air 11" (M4).
- iPadAir13M2 → const DevicePreset
- iPad Air 13" (M2).
- iPadAir13M4 → const DevicePreset
- iPad Air 13" (M4).
- iPadMini → const DevicePreset
- iPad mini (A17 Pro).
- iPadPro11M4 → const DevicePreset
- iPad Pro 11" (M4).
- iPadPro11M5 → const DevicePreset
- iPad Pro 11" (M5).
- iPadPro13M4 → const DevicePreset
- iPad Pro 13" (M4).
- iPadPro13M5 → const DevicePreset
- iPad Pro 13" (M5).
- iPhone16 → const DevicePreset
- iPhone 16 — Dynamic Island.
- iPhone16Plus → const DevicePreset
- iPhone 16 Plus — Dynamic Island, 6.7" display.
- iPhone16Pro → const DevicePreset
- iPhone 16 Pro — Dynamic Island.
- iPhone16ProMax → const DevicePreset
- iPhone 16 Pro Max — Dynamic Island.
- iPhone17 → const DevicePreset
- iPhone 17 — Dynamic Island, 6.3" display.
- iPhone17e → const DevicePreset
- iPhone 17e — notch, the 6.1" entry model.
- iPhone17Pro → const DevicePreset
- iPhone 17 Pro — Dynamic Island, 6.3" display.
- iPhone17ProMax → const DevicePreset
- iPhone 17 Pro Max — Dynamic Island, 6.9" display.
- iPhoneAir → const DevicePreset
- iPhone Air — Dynamic Island, 6.5" display.
- iPhoneSe3 → const DevicePreset
- iPhone SE (3rd generation) — Home button, 4.7" display, no safe area beyond the 20 pt status bar.
- largeDesktopWindow → const DevicePreset
- A large desktop window: 1920×1080 at 2x.
- pixel9 → const DevicePreset
- Google Pixel 9 — gesture navigation.
- pixel10 → const DevicePreset
- Google Pixel 10 — gesture navigation.
- pixel10ProFold → const DevicePreset
- Google Pixel 10 Pro Fold — 8" inner display, book-style fold with a vertical crease at mid-width.
- smallDesktopWindow → const DevicePreset
- A small desktop window: 1024×640 at 1x.