onDetach method

void onDetach()
inherited

Called after the game has left the widget tree. This can be overridden to add logic that requires the game not be on the flutter widget tree anymore.

Implementation

void onDetach() {}