lerp static method
Linearly interpolates the provided objects based on the given t
value.
Implementation
static Fonts lerp(Fonts a, Fonts? b, double t) {
return Fonts._(
largest: Largest.lerp(a.largest, b?.largest, t),
larger: Larger.lerp(a.larger, b?.larger, t),
large: Large.lerp(a.large, b?.large, t),
big: Big.lerp(a.big, b?.big, t),
medium: Medium.lerp(a.medium, b?.medium, t),
normal: Normal.lerp(a.normal, b?.normal, t),
small: Small.lerp(a.small, b?.small, t),
smaller: Smaller.lerp(a.smaller, b?.smaller, t),
smallest: Smallest.lerp(a.smallest, b?.smallest, t),
);
}