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