hitTestOnBinding method

HitTestResult hitTestOnBinding (Offset location)

Forwards the given location to the binding's hitTest logic.

Implementation

HitTestResult hitTestOnBinding(Offset location) {
  final HitTestResult result = HitTestResult();
  binding.hitTest(result, location);
  return result;
}