hasGesture method

bool hasGesture()

Implementation

bool hasGesture() {
  if (this is DragGesture && (this as DragGesture).enableDrag) return true;
  if (this is TapGesture && (this as TapGesture).enableTab) return true;
  if (this is MouseGesture && (this as MouseGesture).enableMouseGesture)
    return true;
  return false;
}