deviceEventDispatcher property

HitTestDispatcher? deviceEventDispatcher
getter/setter pair

An object to which real device events should be routed.

Normally, device events are silently dropped. However, if this property is set to a non-null value, then the events will be routed to its HitTestDispatcher.dispatchEvent method instead, unless shouldPropagateDevicePointerEvents is true.

Events dispatched by TestGesture are not affected by this.


HitTestDispatcher? deviceEventDispatcher;