sendEventToBinding method

  1. @override
Future<void> sendEventToBinding (PointerEvent event, 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);
  });
}