pinch method

Future<FlutterInputMiss?> pinch(
  1. double cx,
  2. double cy,
  3. double from,
  4. double to,
  5. int ms,
)

Two pointers around logical cx, cy going from from to to apart over ms; null when delivered.

Implementation

Future<FlutterInputMiss?> pinch(double cx, double cy, double from, double to, int ms) {
  final base = _nextPointer;
  _nextPointer += 2;
  return _call(
      {'op': 'pinch', 'cx': '$cx', 'cy': '$cy', 'from': '$from', 'to': '$to', 'ms': '$ms', 'pointer': '$base'},
      extraMs: ms);
}