enable method

void enable()

Turn on the spoiler effect: show the fade from 0→1 (if configured), and restart the particle animation.

Implementation

void enable() {
  _isEnabled = true;
  _startParticleAnimationIfNeeded();
  if (_config.enableFadeAnimation) {
    _fadeCtrl?.forward();
  }
  notifyListeners();
}