lerp static method
Implementation
static FluffyThemeData lerp(
FluffyThemeData a,
FluffyThemeData b,
double t,
) {
return FluffyThemeData(
colors: ColorData.lerp(a.colors, b.colors, t),
typography: TypographyData.lerp(a.typography, b.typography, t),
brightness: switch (t < 0.5) {
true => a.brightness,
false => b.brightness,
},
platform: switch (t < 0.5) {
true => a.platform,
false => b.platform,
},
);
}