lerp static method

MenuBarThemeData? lerp(
  1. MenuBarThemeData? a,
  2. MenuBarThemeData? b,
  3. 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));
}