lerp static method
- MediumBold a,
- MediumBold? b,
- 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)!,
);
}