onStart method

  1. @mustCallSuper
  2. @nonVirtual
void onStart()

Called at the exact moment the widget is allocated in memory. It uses an internal "callable" type, to avoid any @overrides in subclases. This method should be internal and is required to define the lifetime cycle of the subclass.

Implementation

// @protected
@mustCallSuper
@nonVirtual
void onStart() {
  // _checkIfAlreadyConfigured();
  if (_initialized) return;
  onInit();
  _initialized = true;
}