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