PaymentSheetAppearance class final

Constructors

PaymentSheetAppearance({PaymentSheetTheme theme = PaymentSheetTheme.system, String? primaryColor, String? backgroundColor, String? textColor, double? cornerRadius})
Creates optional native appearance overrides.
const

Properties

backgroundColor → String?
Sheet surface color as #RRGGBB or #RRGGBBAA.
final
cornerRadius → double?
Preferred sheet corner radius from 0 through 40 logical pixels.
final
hashCode → int
The hash code for this object.
no setterinherited
primaryColor → String?
Primary action color as #RRGGBB or #RRGGBBAA.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textColor → String?
Primary foreground color as #RRGGBB or #RRGGBBAA.
final
theme → PaymentSheetTheme
Color scheme used by the native sheet.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object>
Validates and serializes appearance for the native bridge.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited