deactivate method

  1. @override
void deactivate()
override

In case there is a 'hot reload' for example and the State object is re-created.

Implementation

@override
void deactivate() {
  _removeThisState();
  super.deactivate();
}