lerp static method

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