lerp static method

Linearly interpolates between two MacosSearchFieldThemeData.

All the properties must be non-null.

Implementation

static MacosSearchFieldThemeData lerp(
  MacosSearchFieldThemeData a,
  MacosSearchFieldThemeData b,
  double t,
) {
  return MacosSearchFieldThemeData(
    highlightColor: Color.lerp(a.highlightColor, b.highlightColor, t),
    resultsBackgroundColor: Color.lerp(
      a.resultsBackgroundColor,
      b.resultsBackgroundColor,
      t,
    ),
  );
}