then method
Adds a ThenEffect that makes it easier to sequence effects after
one another. It does this by establishing a new baseline time equal to the
previous effect's end time and its own optional delay
.
All subsequent effect delays are relative to this new baseline.
Implementation
T then({Duration? delay, Duration? duration, Curve? curve}) =>
addEffect(ThenEffect(delay: delay, duration: duration, curve: curve));