MouseDetectorAnnotationFinder typedef

MouseTrackerAnnotation MouseDetectorAnnotationFinder (Offset offset)

Describes a function that finds an annotation given an offset in logical coordinates.

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

Implementation

typedef MouseDetectorAnnotationFinder = MouseTrackerAnnotation Function(Offset offset);