CompoundAnimation({Animation<T> first, Animation<T> next })

Creates a CompoundAnimation. Both arguments must be non-null. Either can be a CompoundAnimation itself to combine multiple animations.

Source

CompoundAnimation({
  this.first,
  this.next,
}) {
  assert(first != null);
  assert(next != null);
}