sendEventToBinding method

  1. @override
Future<void> sendEventToBinding (
  1. PointerEvent event,
  2. HitTestResult result
)
override

Forwards the given pointer event to the binding.

Implementation

@override
Future<void> sendEventToBinding(PointerEvent event, HitTestResult result) {
  return TestAsyncUtils.guard<void>(() async {
    binding.dispatchEvent(event, result, source: TestBindingEventSource.test);
  });
}