setMounted method

  1. @internal
void setMounted()
inherited

Used by the FlameGame to set the mounted state of the component, since the game isn't going through the whole normal component life cycle.

Implementation

@internal
void setMounted() {
  _setMountedBit();
  _mountCompleter?.complete();
  _mountCompleter = null;
  _reAddChildren();
}