onAttach method

void onAttach()
inherited

Called when the game has been attached. This can be overridden to add logic that requires the game to already be attached to the widget tree.

Implementation

void onAttach() {}