ScreenSize enum

Screen Size based on screen width.

By default, If screen width is 0-599 px, it will be xSmall. If screen width is 600-1023 px, it will be small. If screen width is 1024-1439 px, it will be medium. If screen width is 1440-1919 px, it will be large. If screen width is 1920+ px, it will be xLarge.

See also:

Inheritance

Constructors

ScreenSize()
const

Values

xsmall → const ScreenSize
small → const ScreenSize
medium → const ScreenSize
large → const ScreenSize
xlarge → const ScreenSize

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.