panZoomEnd method

PointerPanZoomEndEvent panZoomEnd(
  1. {Duration timeStamp =}

Create a PointerPanZoomEndEvent to end the active pan/zoom sequence on this pointer.

By default, the time stamp on the event is You can give a specific time stamp by passing the timeStamp argument.


PointerPanZoomEndEvent panZoomEnd({
  Duration timeStamp =
}) {
  assert(kind == PointerDeviceKind.trackpad);
  _isPanZoomActive = false;
  _pan = null;
  return PointerPanZoomEndEvent(
    timeStamp: timeStamp,
    device: _device,
    pointer: pointer,
    position: location!,