lerp static method

Linearly interpolate between two outlined button themes.

Implementation

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