lerp static method

MediumBold lerp(
  1. MediumBold a,
  2. MediumBold? b,
  3. double t
)

Linearly interpolates the provided objects based on the given t value.

Implementation

static MediumBold lerp(MediumBold a, MediumBold? b, double t) {
  return MediumBold._(
    onPrimary: TextStyle.lerp(a.onPrimary, b?.onPrimary, t)!,
  );
}