deviceEventDispatcher property Null safety

HitTestDispatcher? deviceEventDispatcher
read / write

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.

Events dispatched by TestGesture are not affected by this.

Implementation

HitTestDispatcher? deviceEventDispatcher;