hide method

dynamic hide()

隐藏悬浮窗,保留其状态(不移除 OverlayEntry) 只有在悬浮窗已经插入 Overlay 的状态下才可以使用,否则调用无效

Implementation

hide() {
  if (!_isShowing) return;
  _commonControl.setFloatingHide(true);
  _isHidden = true;
  _notifyHideFloating();
}