downWithCustomEvent method Null safety
- Offset downLocation,
- PointerDownEvent event
Dispatch a pointer down event at the given downLocation
, caching the
hit test result with a custom down event.
Implementation
Future<void> downWithCustomEvent(Offset downLocation, PointerDownEvent event) async {
_pointer.setDownInfo(event, downLocation);
return TestAsyncUtils.guard<void>(() async {
return _dispatcher(event);
});
}