Dart SDK
dart:html
ScreenOrientation
class
ScreenOrientation
Constants
Properties
Methods
Constants
changeEvent
Properties
angle
type
onChange
on
Methods
lock
unlock
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('ScreenOrientation')
Experimental()
Extends
Object
EventTarget
ScreenOrientation
Constants
EventStreamProvider
<
Event
>
changeEvent
=
const
EventStreamProvider
<
Event
>
('change')
const
Properties
int
angle
read-only
String
type
read-only
Stream
<
Event
>
onChange
read-only
Events
on
read-only ,
inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
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