The macOS implementation of file_selector.


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.


You will need to add an entitlement for either read-only access:


or read/write access:


depending on your use case.