DEV Community

Jawdat Tayfour
Jawdat Tayfour

Posted on

3 1

VS code Problem

I have a problem
when I open my flutter app in a folder view (lib,android,ios,assest ,etc..)
vs code give me alot of import and function problem but when I open every file
singularly it gives me 0 issues
Help please I suffered with this ?!!

Top comments (2)

Collapse
 
hifiaz profile image
fiaz

Try flutter package get in terminal

Collapse
 
justjay30a7i profile image
Jawdat Tayfour • Edited

I've tried it, it first gave a lot of errors but then I've gone throw stackoverflow and they told me to edit the dependencies and I add Shared_Preferences 0.2.0 and it stopped giving me those errors after it
and gave only 1 Error its : the dart SDK version is not compatible with the shared_preferences and here I am now stuck at a new bug

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay