DEV Community

Jawdat Tayfour
Jawdat Tayfour

Posted on

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