onShove method

  1. @override
void onShove(
  1. double pointersAngleDeg,
  2. Point<int> initial,
  3. Point<int> start,
  4. Point<int> end,
)

Called when a two-pointer shove gesture occurs.

A shove occurs when two pointers move while keeping their spacing and relative angle within thresholds.

Parameters

  • pointersAngleDeg: Angle between pointers in degrees.
  • initial: Midpoint at initial touch down.
  • start: Midpoint at previous update.
  • end: Midpoint at current update.

Implementation

@override
void onShove(
  final double pointersAngleDeg,
  final Point<int> initial,
  final Point<int> start,
  final Point<int> end,
) {
  _shoveCallback?.call(pointersAngleDeg, initial, start, end);
}