Screen class
The interface represents a screen, usually the one on which the
current window is being rendered, and is obtained using
window.screen
.
Note that browsers determine which screen to report as current
by detecting which screen has the center of the browser window.
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Screen()
-
factory
Properties
- availHeight → int
-
Available on Screen, provided by the PropsScreen extension
no setter - availWidth → int
-
Available on Screen, provided by the PropsScreen extension
no setter - colorDepth → int
-
Available on Screen, provided by the PropsScreen extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Available on Screen, provided by the PropsScreen extension
no setter - isExtended → bool
-
Available on Screen, provided by the PropsScreen extension
no setter -
onchange
↔ EventHandlerNonNull<
Event> ? -
Available on Screen, provided by the PropsScreen extension
getter/setter pair - orientation → ScreenOrientation
-
Available on Screen, provided by the PropsScreen extension
no setter - pixelDepth → int
-
Available on Screen, provided by the PropsScreen extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Available on Screen, provided by the PropsScreen extension
no setter
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