lerp static method

Linearly interpolate between two text button themes.

Implementation

static TextButtonThemeData? lerp(TextButtonThemeData? a, TextButtonThemeData? b, double t) {
  if (identical(a, b)) {
    return a;
  }
  return TextButtonThemeData(style: ButtonStyle.lerp(a?.style, b?.style, t));
}