lerp static method
Linearly interpolates between two MacosPopupButtonThemeData.
All the properties must be non-null.
Implementation
static MacosPopupButtonThemeData lerp(
MacosPopupButtonThemeData a,
MacosPopupButtonThemeData b,
double t,
) {
return MacosPopupButtonThemeData(
highlightColor: Color.lerp(a.highlightColor, b.highlightColor, t),
backgroundColor: Color.lerp(a.backgroundColor, b.backgroundColor, t),
popupColor: Color.lerp(a.popupColor, b.popupColor, t),
);
}