file_chooser 0.1.0 file_chooser: ^0.1.0 copied to clipboard
Displays native platform open and save panels.
file_chooser #
DO NOT USE THIS PACKAGE. IT IS ONLY PUBLISHED AS A DEPENDENCY OF FILE_PICKER_CROSS
! #
This plugin provides access to a native file chooser for Open and Save operations.
This is a prototype, and in the long term will either be replaced by functionality within the Flutter framework itself, or a published plugin (likely part of flutter/plugins). Either way, the API may change significantly.
Supported Platforms #
- ✅ macOS
- ✅ Windows
- ✅ Linux
Use #
See the plugin README for general instructions on using FDE plugins.
macOS #
You will need to add an entitlement for either read-only access:
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
or read/write access:
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
depending on your use case.
Linux #
You will need to update main.cc
to include the GTK initialization and runloop changes
shown in the testbed
example.