diff --git a/packages/stripe_web/lib/flutter_stripe_web.dart b/packages/stripe_web/lib/flutter_stripe_web.dart index e975c0cc..7a85ebd8 100644 --- a/packages/stripe_web/lib/flutter_stripe_web.dart +++ b/packages/stripe_web/lib/flutter_stripe_web.dart @@ -9,4 +9,3 @@ export 'src/widgets/card_field.dart' hide WebStripeCardState; export 'src/widgets/express_checkout_element.dart' hide ExpressCheckoutElementState; export 'src/widgets/payment_element.dart' hide PaymentElementState; -export 'src/widgets/payment_element.dart'; diff --git a/packages/stripe_web/lib/src/widgets/payment_element.dart b/packages/stripe_web/lib/src/widgets/payment_element.dart index eddbb6c2..21bfb07c 100644 --- a/packages/stripe_web/lib/src/widgets/payment_element.dart +++ b/packages/stripe_web/lib/src/widgets/payment_element.dart @@ -10,7 +10,14 @@ import 'package:web/web.dart' as web; import '../../flutter_stripe_web.dart'; export 'package:stripe_js/stripe_api.dart' - show PaymentElementLayout, ElementAppearance, ElementTheme; + show + PaymentElementLayout, + ElementAppearance, + ElementTheme, + ElementAppearanceLabels; + +// TODO: should not use src of other package +export 'package:stripe_js/src/api/elements/payment_element_options.dart'; typedef PaymentElementTheme = js.ElementTheme;