0

In Visual Studio Code, how i can find the location and open the shared preferences file that are used in my Flutter project.

Thanks in Advance.

Carlos Costa
  • 123
  • 3
  • 11
  • 1
    Does this answer your question? https://stackoverflow.com/questions/61628388/where-does-pub-get-download-pubspec-dependencies-to all packages are stored at %APPDATA%\Pub\Cache on windows – Costa Sep 10 '21 at 07:28
  • Hi Costa, thanks for your help. I asked wrong i think. What i mean is "Where are shared preferences stored?". I know that they are stored in a xml file, but what i need is to know where this xml file is. – Carlos Costa Sep 10 '21 at 08:11
  • 1
    here: https://stackoverflow.com/questions/6146106/where-are-shared-preferences-stored – Benyamin Sep 10 '21 at 09:06
  • Hi @Benyamin, yes this answer my question. What woulb be the path of the xml file if the Flutter App would be for Windows Desktop? Thanks for the help – Carlos Costa Sep 10 '21 at 09:27
  • 1
    I'm not sure if it is stored on windows – Benyamin Sep 10 '21 at 09:54
  • In windows it as to be also stored somewhere. For example the counter example with shared preferences to make it persistence. It works on windows. There must be also some file to store the data on the Hard Drive. – Carlos Costa Sep 10 '21 at 10:01

0 Answers0