DeviceClass enum
Values
- handsetSmall320 → const DeviceClass
-
iPhone SE is 320 width which is the bare minimum for our design to work
- handsetMedium360 → const DeviceClass
-
Pixel 4A/5 width: 393 Samsung Galaxy S21 Ultra (2021) width: 384 iPhone 12 mini (2020) width: 360
- handsetLarge400 → const DeviceClass
-
Sony Xperia Z4 portrait width: 534 iPhone 12 pro max (2020) width: 428 iPhone 6+, 6S+, 7+, 8+ width: 414 Google Pixel 4 XL width: 412
- tabletSmall600 → const DeviceClass
-
Amazon Kindle Fire portrait width: 600
- tabletLarge720 → const DeviceClass
-
Microsoft Surface Book width: 1000 Apple iPhone 12 Pro Max (2020) landscape width: 926 MacBook Pro 16" 2019 (default scale) split screen width: 896 Samsung Galaxy Z Fold2 (2020) width: 884 iPad Pro portrait width: 834 iPad Air 4 portrait width: 820 iPad portrait width: 768
- desktopSmall1024 → const DeviceClass
-
iPad Pro 12.9 landscape width: 1366 Macbook Pro 13" 2018: 1280 iPad Pro 11 landscape with: 1194 iPad Pro 10.5 landscape with: 1112 iPad landscape with: 1024 iPad Pro 12" width: 1024 Microsoft Surface Pro 3 width: 1024
- desktopLarge1440 → const DeviceClass
-
MacBook Pro 16" 2019 (more space) width: 2048 MacBook Pro 16" 2019 (default scale) width: 1792 MacBook Pro 16" 2019 (medium scale) width: 1536 MacBook Pro 15" 2018 width: 1440
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
DeviceClass> - A constant List of the values in this enum, in order of their declaration.