lerp static method

OutlinedButtonThemeData? lerp(
  1. OutlinedButtonThemeData? a,
  2. OutlinedButtonThemeData? b,
  3. double t
)

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),
  );
}