EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const EventStreamProvider<DeviceMotionEvent>('devicemotion')

Static factory designed to expose devicemotion events to event handlers that are not necessarily instances of Window.

See EventStreamProvider for usage information.