onDestroy method
void
onDestroy()
The implementation of the widget functionality. It differs from activity in that it is run only when the widget is destroyed.
Implementation
void onDestroy() {}
The implementation of the widget functionality. It differs from activity in that it is run only when the widget is destroyed.
void onDestroy() {}