lerp static method
- FilledButtonThemeData? a,
- FilledButtonThemeData? b,
- double t
Linearly interpolate between two filled button themes.
Implementation
static FilledButtonThemeData? lerp(FilledButtonThemeData? a, FilledButtonThemeData? b, double t) {
if (identical(a, b)) {
return a;
}
return FilledButtonThemeData(
style: ButtonStyle.lerp(a?.style, b?.style, t),
);
}