hitTestMouseTrackers method Null safety
- Offset position
Determines the set of mouse tracker annotations at the given position.
See also:
- Layer.findAllAnnotations, which is used by this method to find all AnnotatedRegionLayers annotated for mouse tracking.
Implementation
HitTestResult hitTestMouseTrackers(Offset position) {
assert(position != null);
final BoxHitTestResult result = BoxHitTestResult();
hitTest(result, position: position);
return result;
}