updateWithCustomEvent method
- PointerEvent event, {
- Duration timeStamp = Duration.zero,
In a test, send a move event that moves the pointer by the given offset.
Implementation
@visibleForTesting
Future<void> updateWithCustomEvent(PointerEvent event, { Duration timeStamp = Duration.zero }) {
_pointer.setDownInfo(event, event.position);
return TestAsyncUtils.guard<void>(() {
return _dispatcher(event);
});
}