lerp method Null safety
Linearly interpolate between two elevated button themes.
Implementation
static ElevatedButtonThemeData? lerp(ElevatedButtonThemeData? a, ElevatedButtonThemeData? b, double t) {
assert (t != null);
if (a == null && b == null) {
return null;
}
return ElevatedButtonThemeData(
style: ButtonStyle.lerp(a?.style, b?.style, t),
);
}