onDoubleTap method

GestureDetector onDoubleTap(
  1. VoidCallback callback
)

Add on Double Tap handler to the current widget

Implementation

GestureDetector onDoubleTap(VoidCallback callback) {
  return GestureDetector(child: this, onDoubleTap: callback);
}