detach method

void detach()
inherited

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

Should not be called manually.

Implementation

void detach() {
  _gameRenderBox = null;

  onDetach();
}