The web app I'm working on requires the user to select a folder to create a json file in. I've looked online but this is only possible if I hard-code the directory in the code.
Is there any alternative to the folder_picker package for flutter web?
The web app I'm working on requires the user to select a folder to create a json file in.
That can never work. A web app, no matter what language is used, cannot write to the users file system directly. If it could, that would be a major security problem, that you would hear about in headline news.
You will need to talk to whoever required that to be a feature. It cannot be done with a web application.
I recently used this feature to select and upload a whole folder into my Flutter web app. By default it is possible
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With