PaymentSheetPrimaryButtonShape constructor

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

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetPrimaryButtonShape({
  /// Configuration of the primary button's shadow.
  PaymentSheetShadowParams? shadow,

  /// the blur radius of the button
  double? blurRadius,

  /// border width of the primary button on the payment sheet
  double? borderWidth,
}) = _PaymentSheetPrimaryButtonShape;