AnimationMax<T extends num> constructor Null safety

AnimationMax<T extends num>(
  1. Animation<T> first,
  2. Animation<T> next
)

Creates an AnimationMax.

Both arguments must be non-null. Either can be an AnimationMax itself to combine multiple animations.

Implementation

AnimationMax(Animation<T> first, Animation<T> next) : super(first: first, next: next);