panZoomEnd method

Future<void> panZoomEnd({
  1. Duration timeStamp = Duration.zero,
})

Dispatch a pointer pan zoom end event, caching the hit test result.

Implementation

Future<void> panZoomEnd({
  Duration timeStamp = Duration.zero
}) async {
  assert(_pointer.kind == PointerDeviceKind.trackpad, 'Only trackpads can send PointerPanZoom events.');
  return TestAsyncUtils.guard<void>(() async {
    return _dispatcher(_pointer.panZoomEnd(
      timeStamp: timeStamp
    ));
  });
}