0

I am new to flutter. Tried every possible to resolve this including importing the file to removing the file. nothing worked and Ienter image description here am pissed off.

click on the text in blue to see the CODE

1 Answer 1

1

dart:js is a web-only package. You simply can't use it for mobile apps. Hovering over the line in your code would have informed you about that

Sign up to request clarification or add additional context in comments.

2 Comments

so what should I do?
@RohanShahi not much you can do except for not using that import. Whatever it is you need it for you need to find an alternative. But by the looks of it (it's grey), you are not using that import anyway so maybe just remove the line

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.