PaymentSheetShadowParams constructor
- @JsonSerializable(explicitToJson: true)
const
PaymentSheetShadowParams(
{ - @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? color,
- double? opacity,
- PaymentSheetShadowOffset? offset,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory PaymentSheetShadowParams({
/// Shadow color
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? color,
/// Shadow opacity
double? opacity,
/// Shadow offset
PaymentSheetShadowOffset? offset,
}) = _PaymentSheetShadowParams;