initialize method

void initialize(
  1. Size size
)

Called once by the engine after the widget lays out.

Implementation

void initialize(Size size) {
  if (_initialized) return;
  _initialized = true;
  // Controller-driven emitters fire ONLY on trigger() (via tickController).
  // Without a controller, fire automatically per repeat schedule.
  if (controller == null && !_autoRepeatDone) {
    _scheduleAutoFire(size);
  }
}