primary property

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

Color of the button that represents the primary action on the payment sheet.

Make sure there is enough contrast with background.

Implementation

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