discontinuedPackage responsive_annotation has been discontinued.

ScreenType enum

Enum used to determine screen sizes.

Inheritance
Available extensions

Values

mobile → const ScreenType

ScreenType.mobile is used to determine if the screen is bigger than mobile breakpoint.

tablet → const ScreenType

ScreenType.tablet is used to determine if the screen is bigger than tablet breakpoint.

laptop → const ScreenType

ScreenType.laptop is used to determine if the screen is bigger than laptop breakpoint.

desktop → const ScreenType

ScreenType.desktop is used to determine if the screen is bigger than desktop breakpoint.

widescreen → const ScreenType

ScreenType.widescreen is used to determine if the screen is bigger than widescreen breakpoint.

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<ScreenType>
A constant List of the values in this enum, in order of their declaration.