MouseTracker constructor

MouseTracker(
  1. MouseTrackerHitTest hitTestInView
)

Create a mouse tracker.

The hitTestInView is used to find the render objects on a given position in the specific view. It is typically provided by the RendererBinding.

Implementation

MouseTracker(MouseTrackerHitTest hitTestInView)
  : _hitTestInView = hitTestInView;