handleDoubleTap method

  1. @override
void handleDoubleTap(
  1. Offset position
)

Called when pointer tap has contacted the screen double time in behavior.

Implementation

@override
void handleDoubleTap(Offset position) {
  if (activationMode == ActivationMode.doubleTap) {
    _showTrackball(parentBox!.globalToLocal(position));
    _hideTrackball(doubleTapHideDelay: 200);
  }
}