onPointerDown method

  1. @override
void onPointerDown(
  1. int pointerId,
  2. Point<num> pos
)

Called when a pointer touches down on the view.

Parameters

  • pointerId: Pointer identifier supplied by the platform.
  • pos: Pointer location in view coordinates.

Implementation

@override
void onPointerDown(final int pointerId, final Point<num> pos) {
  _pointerDownCallback?.call(pointerId, pos);
}