disable method
void
disable()
Turn off the spoiler effect: fade from 1→0, then stop the animation entirely.
Implementation
void disable() {
if (_config.fadeConfig == null) {
// If fade is disabled, just stop everything now.
_stopAll();
} else {
final future = _fadeCtrl?.reverse();
if (future == null) {
_stopAll();
} else {
future.whenCompleteOrCancel(() => _stopAll());
}
}
}