close method

void close()

사용자가 원하는 타이밍에 시트를 닫습니다.

Implementation

void close() {
  if (_onClose == null) {
    _pendingClose = true;
    return;
  }
  _onClose?.call();
}