lerpSize function

Size? lerpSize(
  1. Size? a,
  2. Size? b,
  3. double t
)

Implementation

Size? lerpSize(Size? a, Size? b, double t) {
  a ??= Size.zero;
  b ??= Size.zero;
  return Size(lerpDouble(a.width, b.width, t)!, lerpDouble(a.height, b.height, t)!);
}