AnimationMean constructor Null safety

AnimationMean(
  1. {required Animation<double> left,
  2. required Animation<double> right}
)

Creates an animation that tracks the mean of two other animations.

Implementation

AnimationMean({
  required Animation<double> left,
  required Animation<double> right,
}) : super(first: left, next: right);