Julian
Julian

Reputation: 55

How to open windows explorer in flutter-Windows-application?

The question is pretty straight forward: I develop a windows application with flutter (shame on me) and I want to open the Windows "file explorer" with a path when a button is pressed. Another great thing would be to open the windows file-picker and get a callback from that, but the other problem seems to be much easier.

Thanks for your help!

Upvotes: 2

Views: 672

Answers (1)

Răzvan Puiu
Răzvan Puiu

Reputation: 731

You can add the file_picker plugin and call

FilePickerResult? result = await FilePicker.platform.pickFiles();

Upvotes: 1

Related Questions