open method Null safety

void open()

Implementation

void open() {
  // print('open');
  if (translateX != -maxDragDistance) {
    animationController.animateTo(-maxDragDistance).then((_) {
      if (widget.onSlideCompleted != null) widget.onSlideCompleted!.call();
    });
  }
  if (widget.closeTag == null) return;
  if (_ct!.value == LeftScrollStatus.close) {
    GlobalLeftScroll.instance!
        .needCloseOtherRowOfTag(widget.closeTag, widget.key);
    _ct!.value = LeftScrollStatus.open;
  }
}