resetLifetimeState method
void
resetLifetimeState()
Resets lifetime-driven runtime state (color/scale/opacity/trail) back to start values. Used when a pooled particle slot is reused for a new burst.
Implementation
void resetLifetimeState() {
_currentColor = color;
_currentScale = startScale;
_currentOpacity = startOpacity;
_trail?.clear();
}