thenFor method
Adds an additional scene that begins immediately after this scene.
Implementation
MovieScene thenFor({
/// Duration of the scene
required Duration duration,
/// Fine-tune the begin time of the next scene by adding a delay.
/// The value can also be negative.
Duration delay = Duration.zero,
/// Custom curve for this scene.
Curve? curve,
}) {
return parent.scene(
begin: begin + this.duration + delay,
duration: duration,
curve: curve,
);
}