interpolate method
Implementation
@override
void interpolate(double alpha) {
var time = alpha * maxEndTime;
for (var timing in animationsTiming) {
var anim = timing.item1;
var startTime = timing.item2;
var endTime = timing.item3;
var animTime = endTime - startTime;
var subAlpha = 0.0;
if (animTime != 0) {
subAlpha = clip((time - startTime) / animTime, 0, 1);
}
anim.interpolate(subAlpha);
}
}