Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up payment element, use flutter best practices, enable scrolling #1620

Merged
merged 5 commits into from
Mar 2, 2024

Conversation

siherrmann
Copy link
Contributor

I updated the stateful widget to use best practices (private state and State<PaymentElement> createState()...). I reordered the widget parameters to be a little bit more in an order like standard flutter widgets. I updated the height so it can be set and the div inside is scrollable or it is not set and the widget gets updated by the div height inside. The constraints were not used so I deleted them.

@jonasbark
Copy link
Member

Looks good, thank you!

@remonh87 remonh87 merged commit 9667858 into flutter-stripe:main Mar 2, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants