lerp static method
Linearly interpolate between two icon button themes.
Implementation
static IconButtonThemeData? lerp(IconButtonThemeData? a, IconButtonThemeData? b, double t) {
if (identical(a, b)) {
return a;
}
return IconButtonThemeData(
style: ButtonStyle.lerp(a?.style, b?.style, t),
variant: t < 0.5 ? a?.variant : b?.variant,
);
}