ScreenSize enum

Inheritance

Constructors

ScreenSize()
const

Values

us → const ScreenSize

Smart watches (0.00 >= width > 310.00)

xs → const ScreenSize

Small phones (5S) (310.00 >= width > 576.00)

sm → const ScreenSize

Medium phones (576.00 >= width > 768.00)

md → const ScreenSize

Large phones (iPhone X) (768.00 >= width > 992.00)

lg → const ScreenSize

Tablets (992.00 >= width > 1200.00)

xl → const ScreenSize

Laptops (1200.00 >= width > 2000.00)

ul → const ScreenSize

TVs and 4k ( width > 2000.00)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<ScreenSize>
A constant List of the values in this enum, in order of their declaration.