lerp static method

Implementation

static NomoRouteBodySizingData lerp(
    NomoRouteBodySizingData a, NomoRouteBodySizingData b, double t) {
  return NomoRouteBodySizingData(
    padding: EdgeInsetsGeometry.lerp(a.padding, b.padding, t)!,
    scrollBarThickness:
        lerpDouble(a.scrollBarThickness, b.scrollBarThickness, t)!,
    scrollBarRadius: Radius.lerp(a.scrollBarRadius, b.scrollBarRadius, t)!,
    maxContentWidth: t < 0.5 ? a.maxContentWidth : b.maxContentWidth,
  );
}