Dart API Reference
dart:html
ScreenOrientation
ScreenOrientation
class
Annotations
DocsEditable()
DomName('ScreenOrientation')
Experimental()
Extends
Object
EventTarget
ScreenOrientation
Constants
changeEvent
=
const
EventStreamProvider
<
Event
>
('change')
Instance Properties
angle
int
read-only
type
String
read-only
onChange
Stream
<
Event
>
read-only
on
Events
Inherited
read-only
Instance Methods
lock
(
String
orientation
) →
Future
unlock
(
) →
void
addEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
Inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
Inherited
dispatchEvent
(
Event
event
) →
bool
Inherited