The macOS implementation of file_selector
.
This package is endorsed, which means you can simply use file_selector
normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml
.
However, if you import
this package to use any of its APIs directly, you should add it to your pubspec.yaml
as usual.
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.