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

add web exports #1957

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add web exports #1957

wants to merge 2 commits into from

Conversation

cedvdb
Copy link
Contributor

@cedvdb cedvdb commented Oct 12, 2024

Fix #1955

Add public api exports but is done in a non recommended way, so I added a TODO that I do not intend to fix myself.

ElementAppearanceLabels;

// TODO: should not use src of other package
export 'package:stripe_js/src/api/elements/payment_element_options.dart';
Copy link
Contributor Author

@cedvdb cedvdb Oct 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some overlaps between stripe_js/api and platform_interface so this file is exported instead. It is not recommended to do this this way. Feel free to not merge this and fix the overlapping exports instead.

In the meantime this allows the usage of the public api of flutter stripe payment element

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.

The public api of payment element is not exported.
1 participant