lerp static method
Implementation
static PillButtonBarThemeData lerp(
PillButtonBarThemeData? a,
PillButtonBarThemeData? b,
double t,
) {
return PillButtonBarThemeData(
backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
selectedTextStyle:
TextStyle.lerp(a?.selectedTextStyle, b?.selectedTextStyle, t),
unselectedTextStyle:
TextStyle.lerp(a?.unselectedTextStyle, b?.unselectedTextStyle, t),
selectedColor:
ButtonState.lerp(a?.selectedColor, b?.selectedColor, t, Color.lerp),
unselectedColor: ButtonState.lerp(
a?.unselectedColor, b?.unselectedColor, t, Color.lerp),
);
}