showBall static method

void showBall()

显示悬浮球(attach 态下;球已在屏则幂等)。未 attach / Overlay 未就绪 时为安全 no-op。

Implementation

static void showBall() {
  if (!_isAttached || _ballEntry != null) {
    return;
  }
  _insertBall();
}