onDoubleClick method

GestureRecognizer? onDoubleClick(
  1. OnViewClickListener? callback
)

Implementation

GestureRecognizer? onDoubleClick(OnViewClickListener? callback) {
  if (callback != null) {
    return DoubleTapGestureRecognizer()
      ..onDoubleTap = () => callback(context);
  } else {
    return null;
  }
}