detach method

void detach()
inherited

Marks game as no longer attached to any Flutter widget tree.

Should not be called manually.

Implementation

void detach() {
  if (!_isInternalRefresh) {
    onDetach();
  }
  _gameRenderBox = null;
}