close method

void close()

void close() Method used to close the bucket.

Implementation

void close() {
  _bucketActionLock = true;
  _bucketChildSize?.value = screenSize;
  if (widget.onBucketChange != null) {
    Future.microtask(() => widget.onBucketChange!(false));
  }
  _childPosition.value = _bucketLockStartPoint;
}