PaymentSheetShape constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentSheetShape({
  1. double? borderRadius,
  2. double? borderWidth,
  3. PaymentSheetShadowParams? shadow,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetShape({
  /// Borderradius for the paymentsheet corners
  double? borderRadius,

  /// Borderwidth for the paymentsheet components
  double? borderWidth,

  /// Appearance config of the payment sheet shadow
  PaymentSheetShadowParams? shadow,
}) = _PaymentSheetShape;