initBoundary method

void initBoundary()

Implementation

void initBoundary() {
  if (lastScrollBoundary == ScrollBoundary.left) {
    catchController.next(CatchParentDrag.left);
  } else if (lastScrollBoundary == ScrollBoundary.right) {
    catchController.next(CatchParentDrag.right);
  } else if (lastScrollBoundary == ScrollBoundary.all) {
    catchController.next(CatchParentDrag.all);
  } else {
    catchController.next(CatchParentDrag.none);
  }
}