lerp method

Linearly interpolate from one ChannelListHeaderThemeData to another.

Implementation

ChannelListHeaderThemeData lerp(
  ChannelListHeaderThemeData a,
  ChannelListHeaderThemeData b,
  double t,
) =>
    ChannelListHeaderThemeData(
      avatarTheme:
          const AvatarThemeData().lerp(a.avatarTheme!, b.avatarTheme!, t),
      color: Color.lerp(a.color, b.color, t),
      titleStyle: TextStyle.lerp(a.titleStyle, b.titleStyle, t),
    );