next method

void next(
  1. CatchParentDrag d
)

Implementation

void next(CatchParentDrag d) {
  parentDrag = d;
  if (parentDrag == CatchParentDrag.none) {
    drag?.cancel();
    hold?.cancel();
    hold = null;
    drag = null;
  }
}