lerp static method

Implementation

static ZeroAlertDialogStyle lerp(
        ZeroAlertDialogStyle? a, ZeroAlertDialogStyle? b, double t) =>
    ZeroAlertDialogStyle(
      titleTextStyle: TextStyle.lerp(a?.titleTextStyle, b?.titleTextStyle, t),
      contentTextStyle:
          TextStyle.lerp(a?.contentTextStyle, b?.contentTextStyle, t),
      barrierColor: Color.lerp(a?.barrierColor, b?.barrierColor, t),
      actionsPadding:
          EdgeInsetsGeometry.lerp(a?.actionsPadding, b?.actionsPadding, t),
      titlePadding:
          EdgeInsetsGeometry.lerp(a?.titlePadding, b?.titlePadding, t),
      contentPadding:
          EdgeInsetsGeometry.lerp(a?.contentPadding, b?.contentPadding, t),
      iconPadding: EdgeInsetsGeometry.lerp(a?.iconPadding, b?.iconPadding, t),
      elevation: t < 0.5 ? a?.elevation ?? 4 : b?.elevation ?? 4,
      backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
      shadowColor: Color.lerp(a?.shadowColor, b?.shadowColor, t),
      iconColor: Color.lerp(a?.iconColor, b?.iconColor, t),
      alignment: AlignmentGeometry.lerp(a?.alignment, b?.alignment, t),
      shape: ShapeBorder.lerp(a?.shape, b?.shape, t),
    );