pause method
void
pause()
Pause the effect. The effect will not respond to updates while it is
paused. Calling resume()
or reset()
will un-pause it. Pausing an
already paused effect is a no-op.
Implementation
void pause() => _paused = true;