lerp static method

Implementation

static ZeroSwitchStyleSet lerp(
    ZeroSwitchStyleSet? a, ZeroSwitchStyleSet? b, double t) {
  return ZeroSwitchStyleSet(
    basic: ZeroSwitchStyle.lerp(a?.basic, b?.basic, t),
    android: ZeroSwitchStyle.lerp(a?.android, b?.android, t),
    iOS: ZeroSwitchStyle.lerp(a?.iOS, b?.iOS, t),
    disabledColor: Color.lerp(a?.disabledColor, b?.disabledColor, t)!,
  );
}