lerp static method
Linearly interpolate between two loading indicator themes.
If both arguments are null, then null is returned.
Implementation
static LoadingIndicatorThemeData? lerp(
LoadingIndicatorThemeData? a,
LoadingIndicatorThemeData? b,
double t,
) {
if (identical(a, b)) {
return a;
}
return LoadingIndicatorThemeData(
activeIndicatorColor: Color.lerp(
a?.activeIndicatorColor,
b?.activeIndicatorColor,
t,
),
containerColor: Color.lerp(a?.containerColor, b?.containerColor, t),
);
}