onDispose method

void onDispose()

Called when the GameWidget is disposed by Flutter.

Implementation

void onDispose() {}