lerp static method
Lerps a RangeAnnotations based on t
value, check Tween.lerp.
Implementation
static RangeAnnotations lerp(
RangeAnnotations a,
RangeAnnotations b,
double t,
) {
return RangeAnnotations(
horizontalRangeAnnotations: lerpHorizontalRangeAnnotationList(
a.horizontalRangeAnnotations,
b.horizontalRangeAnnotations,
t,
)!,
verticalRangeAnnotations: lerpVerticalRangeAnnotationList(
a.verticalRangeAnnotations,
b.verticalRangeAnnotations,
t,
)!,
);
}