I am working with the Flutter desktop for a while and everything is going fine with the implementation. Till now I was only implementing the UI, networking and in-memory cache. Now I started to face a real problem that I am not able to to find the solution for. Is there a chance that there is some out of the box possibility to save files to a hard drive? I have got to process the base64 that contains a PDF file and put it somewhere on the hard drive. Should I use functions that are prepared for the mobile devices or this is something more complicated in Flutter for the desktop and I have to implement a proper function for the platform and expose it to the Flutter? I mainly target the Windows ecosystem if this changes anything. Only another solution that comes to my mind is to prepare the bash/power-shell script to do that for me, but hopefully, I would not need to do that :)
EDIT
The main problem that I encounter here is that I would like to retrieve the path to the user folder. Does anyone know how to do that?