close method

void close()

Implementation

void close() async {
  await _controller.reverse();
  _overlayEntry?.remove();

  _isOpen = false;
  onOpen?.call(false);
}