lerpMenuItemProperties<T> function

MenuItemMaterialStateProperty<T>? lerpMenuItemProperties<T>(
  1. MenuItemMaterialStateProperty<T>? a,
  2. MenuItemMaterialStateProperty<T>? b,
  3. double t,
  4. T lerp(
    1. T,
    2. T,
    3. double
    ),
)

Implementation

MenuItemMaterialStateProperty<T>? lerpMenuItemProperties<T>(
  MenuItemMaterialStateProperty<T>? a,
  MenuItemMaterialStateProperty<T>? b,
  double t,
  T Function(T, T, double) lerp
) {
  if (a == null && b == null) return null;
  return LerpMenuItemProperties<T>(a, b, t, lerp);
}