Screen class
A screen, usually the one on which the current window is being rendered, and is obtained using window.screen.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Screen.new()
-
factory
Properties
- availHeight → num
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno setter - availWidth → num
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno setter - colorDepth → num
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- height → num
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno setter - orientation → ScreenOrientation
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno setter - pixelDepth → num
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → num
-
Available on Screen, provided by the Screen$Typings extension
MDN Referenceno 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