file_chooser 0.1.1 file_chooser: ^0.1.1 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
! #
Copyright #
This plugin was and is not developed by me but by Google. The original, unmodified version can be found on their project page. DO NOT CONTACT THEM FOR SUPPORT BUT ASK ON file_picker_cross.
This plugin is licensed under the terms and conditions of the Apache 2 license, which can be found in LICENSE.
About #
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
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.