# deviceMotionEvent constant

EventStreamProvider<DeviceMotionEvent> const 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.

## Implementation

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