PaymentSheetAppearance constructor

const PaymentSheetAppearance({
  1. PaymentSheetTheme theme = PaymentSheetTheme.system,
  2. String? primaryColor,
  3. String? backgroundColor,
  4. String? textColor,
  5. double? cornerRadius,
})

Creates optional native appearance overrides.

Implementation

const PaymentSheetAppearance({
  this.theme = PaymentSheetTheme.system,
  this.primaryColor,
  this.backgroundColor,
  this.textColor,
  this.cornerRadius,
});