hitTestOnBinding method
- Offset location
Forwards the given location to the binding's hitTest logic.
Implementation
HitTestResult hitTestOnBinding(Offset location) {
final HitTestResult result = HitTestResult();
// TODO(goderbauer): Support multiple views in flutter_test pointer event handling, https://github.com/flutter/flutter/issues/128281
binding.hitTest(result, location); // ignore: deprecated_member_use
return result;
}