onViewDeactivate method

dynamic onViewDeactivate()

Called when the View is removed from the widget tree but might be inserted again.

Implementation

onViewDeactivate() {
  presenter.isViewActive = false;
}