onCreate method

  1. @protected
  2. @mustCallSuper
void onCreate(
  1. BaseController controller
)

Called whenever a Controller is instantiated. In many cases, a StateController may be lazily instantiated and onCreate can be used to observe exactly when the StateController instance is created.

Implementation

@protected
@mustCallSuper
void onCreate(BaseController controller) {}