[WEB] 'dart:js_interop' is not available on this platform. #1825
Unanswered
Nicola-Cestaro
asked this question in
Q&A
Replies: 2 comments
-
|
https://www.google.com/search?q=dart+conditional+import this should help you |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi guys, is there any update on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_stripe_web-6.0.0-dev.0/lib/src/widgets/card_field.dart:2:8: Error: Dart library 'dart:js_interop' is not available on this platform.
When I try to build for mobile after importing the flutter_stripe_web library I get the interlop error. how can import the library but also build for mobile>
Beta Was this translation helpful? Give feedback.
All reactions