updateWithCustomEvent method Null safety
- PointerEvent event,
- {Duration timeStamp = Duration.zero}
visibleForTesting">@visibleForTesting
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);
});
}