hitTestOnBinding method

HitTestResult hitTestOnBinding (
  1. 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;
}