close method

void close()

Implementation

void close() {
  if (translateX != 0) {
    animationController.animateTo(0).then((_) {
      if (widget.onSlideCanceled != null) widget.onSlideCanceled!.call();
    });
  }
  if (widget.closeTag == null) return;
  _ct!.value = LeftScrollStatus.close;
}