background property

  1. @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? get background
inherited

Background color of the payment sheet.

Make sure there is enough contrast with primary.

Implementation

@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? get background => throw _privateConstructorUsedError;