lerp static method

Implementation

static CustomDialogStyle lerp(
    CustomDialogStyle? a, CustomDialogStyle? b, double t) {
  if (a == null && b == null) return CustomDialogStyle();
  return CustomDialogStyle(
    constraints: BoxConstraints.lerp(a?.constraints, b?.constraints, t)!,
    contentPadding:
        EdgeInsetsGeometry.lerp(a?.contentPadding, b?.contentPadding, t)!,
  );
}