Search code examples
flutterflutter-desktop

How to use Flutter Desktop open windows explorer?


I want to open the windows explorer application, not open a dialog. for example, the Edge's display in a folder. enter image description here


Solution

  • You can pass file: URLs for a directory to url_launcher. For instance:

    launch('file://C:');