pointerEventSource property Null safety

TestBindingEventSource pointerEventSource

The source of the current pointer event.

The pointerEventSource is set as the source parameter of handlePointerEventForSource and can be used in the immediate enclosing dispatchEvent.

When handlePointerEvent is called directly, pointerEventSource is TestBindingEventSource.device.

Implementation

TestBindingEventSource get pointerEventSource => _pointerEventSource;