lerp method

  1. @useResult
FBorderRadius lerp(
  1. FBorderRadius other,
  2. double t
)

Linearly interpolate between this and other using the given factor t.

Implementation

@useResult
FBorderRadius lerp(FBorderRadius other, double t) => FBorderRadius(
  xs2: BorderRadius.lerp(xs2, other.xs2, t) ?? xs2,
  xs: BorderRadius.lerp(xs, other.xs, t) ?? xs,
  sm: BorderRadius.lerp(sm, other.sm, t) ?? sm,
  md: BorderRadius.lerp(md, other.md, t) ?? md,
  lg: BorderRadius.lerp(lg, other.lg, t) ?? lg,
  xl: BorderRadius.lerp(xl, other.xl, t) ?? xl,
  xl2: BorderRadius.lerp(xl2, other.xl2, t) ?? xl2,
  xl3: BorderRadius.lerp(xl3, other.xl3, t) ?? xl3,
  pill: BorderRadius.lerp(pill, other.pill, t) ?? pill,
);