lerp static method
- IconButtonThemeData? a,
- IconButtonThemeData? b,
- double t
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),
);
}