lerp static method

Linearly interpolates between two MacosPulldownButtonThemeData.

All the properties must be non-null.

Implementation

static MacosPulldownButtonThemeData lerp(
  MacosPulldownButtonThemeData a,
  MacosPulldownButtonThemeData b,
  double t,
) {
  return MacosPulldownButtonThemeData(
    highlightColor: Color.lerp(a.highlightColor, b.highlightColor, t),
    backgroundColor: Color.lerp(a.backgroundColor, b.backgroundColor, t),
    pulldownColor: Color.lerp(a.pulldownColor, b.pulldownColor, t),
    iconColor: Color.lerp(a.iconColor, b.iconColor, t),
  );
}