lerp static method

Implementation

static Typography lerp(Typography? a, Typography? b, double t) {
  return Typography.raw(
    display: TextStyle.lerp(a?.display, b?.display, t),
    titleLarge: TextStyle.lerp(a?.titleLarge, b?.titleLarge, t),
    title: TextStyle.lerp(a?.title, b?.title, t),
    subtitle: TextStyle.lerp(a?.subtitle, b?.subtitle, t),
    bodyLarge: TextStyle.lerp(a?.bodyLarge, b?.bodyLarge, t),
    bodyStrong: TextStyle.lerp(a?.bodyStrong, b?.bodyStrong, t),
    body: TextStyle.lerp(a?.body, b?.body, t),
    caption: TextStyle.lerp(a?.caption, b?.caption, t),
  );
}