PaymentSheetAppearanceColors class

Color settings for the Paymentsheet.

Annotations
  • @freezed

Constructors

PaymentSheetAppearanceColors({@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? primary, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? componentBackground, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? componentBorder, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? componentDivider, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? componentText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? primaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? secondaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? placeholderText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? icon, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? error})
const
factory
PaymentSheetAppearanceColors.fromJson(Map<String, dynamic> json)
factory

Properties

background Color?
Background color of the payment sheet.
no setterinherited
componentBackground Color?
Background color of the payment sheet components.
no setterinherited
componentBorder Color?
Border color of the payment sheet components.
no setterinherited
componentDivider Color?
Divider color of the payment sheet components.
no setterinherited
componentText Color?
Color of the entered text in the payment components.
no setterinherited
copyWith → $PaymentSheetAppearanceColorsCopyWith<PaymentSheetAppearanceColors>
no setterinherited
error Color?
Color of the warning and error messages.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon Color?
Color of the displayed icons
no setterinherited
placeholderText Color?
Place holder text color.
no setterinherited
primary Color?
Color of the button that represents the primary action on the payment sheet.
no setterinherited
primaryText Color?
Primary text color.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryText Color?
Secondary text color.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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