file_selector_macos 0.8.2+2 file_selector_macos: ^0.8.2+2 copied to clipboard
macOS implementation of the file_selector plugin.
file_selector_macos #
The macOS implementation of file_selector
.
Usage #
Importing the package #
This implementation has not yet been endorsed, meaning that you need to
depend on file_selector_macos
in addition to
depending on file_selector
.
Once your pubspec includes the macOS implementation, you can use the
file_selector
APIs normally. You should not use the file_selector_macos
APIs directly.
Entitlements #
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.