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