lerp static method

Implementation

static ZeroStepStyle lerp(
  ZeroStepStyle? a,
  ZeroStepStyle? b,
  double t,
) =>
    ZeroStepStyle(
      inactiveColor: Color.lerp(a?.inactiveColor, b?.inactiveColor, t),
      activeColor: Color.lerp(a?.activeColor, b?.activeColor, t),
      errorColor: Color.lerp(a?.errorColor, b?.errorColor, t),
      iconColor: Color.lerp(a?.iconColor, b?.iconColor, t),
      indexTextStyle: TextStyle.lerp(a?.indexTextStyle, b?.indexTextStyle, t),
      titleTextStyle: TextStyle.lerp(a?.titleTextStyle, b?.titleTextStyle, t),
      subtitleTextStyle:
          TextStyle.lerp(a?.subtitleTextStyle, b?.subtitleTextStyle, t),
      contentTextStyle:
          TextStyle.lerp(a?.contentTextStyle, b?.contentTextStyle, t),
      labelTextStyle: TextStyle.lerp(a?.labelTextStyle, b?.labelTextStyle, t),
    );