Closed budidino closed 4 years ago
Ok I just realized that most of the issues mentioned above are related to awesome_card
package and not stripe_sdk
. It would still probably be good to have optional autofocus
on the card_number_form_field
though :)
I've embedded the
CardForm
insideStep
and have a couple of issues:card_number_form_field.dart
) hasautofocus
and that shows the keyboard on step 1 of myStep
instead of step 4 where my card data input form isVideo of how it looks like: https://youtu.be/Bw5qoQlUU6g
I'm new to Flutter so I apologize if the issue is actually easy to resolve. I was experimenting a bit and somehow embedding the
CardForm
insideContainer
withpadding: const EdgeInsets.all(1)
resolves the blur issue but still doesn't solve the broken constraints issue.Video with
CardForm
embedded insideContainer
: https://youtu.be/qWihSZZsNdgI would appreciate any suggestion for resolving the constraints issue or if there is some easy way to completely remove the card preview feature.