CompoundAnimation<T> constructor

CompoundAnimation<T>(
  1. {required Animation<T> first,
  2. required Animation<T> next}
)

Creates a CompoundAnimation.

Either argument can be a CompoundAnimation itself to combine multiple animations.

Implementation

CompoundAnimation({
  required this.first,
  required this.next,
});