简体   繁体   中英

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

You can add the file_picker plugin and call

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM