lerp static method

Implementation

static ShadPosition? lerp(
  ShadPosition? a,
  ShadPosition? b,
  double t,
) {
  if (identical(a, b)) return a;
  return ShadPosition(
    top: b?.top,
    left: b?.left,
    right: b?.right,
    bottom: b?.bottom,
  );
}