withSequence function

CallWith withSequence(
  1. List animations
)

Starts the provided animations sequentially, i.e The next animation starts immediately after the other stops. This animations can be withTiming, withSpring, or a double. if a double is provided, there is no animation in the values the value just jumps to the position.

Example

 x = withSequence([withTiming(...),6.0,withSpring(...),])

Implementation

CallWith withSequence(List<dynamic> animations) =>
    _AnimationFunctions._runSequence(animations);