DeviceType enum
Enum to define device types.
Constructors
- DeviceType()
-
const
Values
- mobilePortrait → const DeviceType
-
A device with width between 240 and 479.
- mobileLandscape → const DeviceType
-
A device with width between 480 and 767.
- tablet → const DeviceType
-
A device with width between 768 and 991.
- desktop → const DeviceType
-
A device with width between 992 and 1279.
- desktopL → const DeviceType
-
A device with width between 1280 and 1439.
- desktopXL → const DeviceType
-
A device with width between 1440 and 1920.
Properties
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<
DeviceType> - A constant List of the values in this enum, in order of their declaration.