onDoubleTap method

GestureDetector onDoubleTap(
  1. void onDoubleTap()?
)

Returns a new GestureDetector widget with the given onDoubleTap callback.

Implementation

GestureDetector onDoubleTap(void Function()? onDoubleTap) {
  return GestureDetector(onDoubleTap: onDoubleTap, child: this);
}