On this page
onDeviceOrientation property
Stream<DeviceOrientationEvent> onDeviceOrientationStream of deviceorientation
events handled by this Window.
Source
@DomName('Window.ondeviceorientation')
@DocsEditable()
// http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion
@Experimental()
Stream<DeviceOrientationEvent> get onDeviceOrientation =>
deviceOrientationEvent.forTarget(this);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Window/onDeviceOrientation.html