MouseDetectorAnnotationFinder typedef Null safety

MouseDetectorAnnotationFinder = HitTestResult Function(Offset offset)

Signature for searching for MouseTrackerAnnotations at the given offset.

It is used by the MouseTracker to fetch annotations for the mouse position.

Implementation

typedef MouseDetectorAnnotationFinder = HitTestResult Function(Offset offset);