hitTestEntry property Null safety

HitTestEntry<HitTestTarget>? hitTestEntry
final

The hit test result entry for the object whose handleEvent method threw the exception. May be null if no hit test entry is associated with the event (e.g. PointerHoverEvents, PointerAddedEvents, and PointerRemovedEvents).

The target object itself is given by the HitTestEntry.target property of the hitTestEntry object.

Implementation

final HitTestEntry? hitTestEntry;