FlippedTweenSequence constructor Null safety

FlippedTweenSequence(
  1. List<TweenSequenceItem<double>> items
)

Creates a flipped TweenSequence.

The items parameter must be a list of one or more TweenSequenceItems.

There's a small cost associated with building a TweenSequence so it's best to reuse one, rather than rebuilding it on every frame, when that's possible.

Implementation

FlippedTweenSequence(super.items)
  : assert(items != null);