panZoomStart method

PointerPanZoomStartEvent panZoomStart(
  1. Offset location,
  2. {Duration timeStamp =}

Create a PointerPanZoomStartEvent (e.g., trackpad scroll; not scroll wheel or finger-drag scroll) with the given delta.

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


PointerPanZoomStartEvent panZoomStart(
  Offset location, {
  Duration timeStamp =
}) {
  assert(kind == PointerDeviceKind.trackpad);
  _location = location;
  _pan =;
  _isPanZoomActive = true;
  return PointerPanZoomStartEvent(
    timeStamp: timeStamp,
    device: _device,
    pointer: pointer,
    position: location,