PaymentSheetPrimaryButtonTheme constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentSheetPrimaryButtonTheme({
  1. PaymentSheetPrimaryButtonThemeColors? dark,
  2. PaymentSheetPrimaryButtonThemeColors? light,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetPrimaryButtonTheme({
  /// Colors when displaying button in dark theme
  PaymentSheetPrimaryButtonThemeColors? dark,

  /// Colors when displaying button in light theme
  PaymentSheetPrimaryButtonThemeColors? light,
}) = _PaymentSheetPrimaryButtonTheme;