Closed JunichiMuto closed 8 months ago
Textcolor is not supported on the cardform on iOS. Also we did hear from Stripe that no additional functionality will be added to these elements. I would suggest the following:
If you insist on using cardform you can change the background color in darkmode:
CardFormStyle(
backgroundColor: Colors.black,
borderColor: Colors.blueGrey,
textColor: Colors.black,
placeholderColor: Colors.blue,
),
``
Describe the bug When iOS is set to dark mode, the text color of CardFormField becomes white and blends in with the background color, making the text invisible.
In the MaterialApp of the main() method,
is specified. Also, in CardFormField
is specified.
Smartphone / tablet