onAttach method
void
onAttach()
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() {}
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.
void onAttach() {}