PaymentSheetPrimaryButtonAppearance constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentSheetPrimaryButtonAppearance({
  1. PaymentSheetPrimaryButtonTheme? colors,
  2. PaymentSheetPrimaryButtonShape? shapes,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetPrimaryButtonAppearance({
  /// color theme of the primary button
  PaymentSheetPrimaryButtonTheme? colors,

  /// Shape params of the primary button
  PaymentSheetPrimaryButtonShape? shapes,
}) = _PaymentSheetPrimaryButtonAppearance;