then method

T then({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
})

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));