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