onViewInit method

dynamic onViewInit()

Called after the View is inserted into the widget tree, when the state object is created for the first time.

Implementation

onViewInit() {
  presenter.isViewActive = true;
}