handleTapDown method Null safety

  1. @protected
void handleTapDown(
  1. {required PointerDownEvent down}
)
protected">@protected

A pointer has contacted the screen, which might be the start of a tap.

This triggers after the down event, once a short timeout (deadline) has elapsed, or once the gesture has won the arena, whichever comes first.

The parameter down is the down event of the primary pointer that started the tap sequence.

If this recognizer doesn't win the arena, handleTapCancel is called next. Otherwise, handleTapUp is called next.

Implementation

@protected
void handleTapDown({ required PointerDownEvent down });