flutter_stripe icon indicating copy to clipboard operation
flutter_stripe copied to clipboard

CardField text color seems to be hard coded to black on Web

Open rundfunk47 opened this issue 1 year ago • 2 comments

Describe the bug 284089420-22ddc371-47cb-4b14-87a4-85dc07d284d1-3

The CardField text color seems to be hard coded to black. It ignores any text style applied to it. I saw https://github.com/flutter-stripe/flutter_stripe/issues/541 and it seems to have been fixed at one point but regressed?

To Reproduce Steps to reproduce the behavior:

  1. Enter any number into the cardfield.
  2. Note that the text is black
  3. Changing the text style does nothing

Expected behavior The text of the card field should respect the textstyle.

Smartphone / tablet

  • OS: Web (Chrome)
  • Package version: flutter_stripe: ^10.0.0 , flutter_stripe_web: ^5.0.0
  • Flutter version: 3.16.5

Additional context Add any other context about the problem here.

rundfunk47 avatar Dec 23 '23 06:12 rundfunk47

Any updates?

rahulrmishra avatar Mar 14 '24 13:03 rahulrmishra

As a workaround, I used white color for the background 😂 No updates

rundfunk47 avatar Mar 14 '24 13:03 rundfunk47