image_picker_plus_macos 0.0.2
image_picker_plus_macos: ^0.0.2 copied to clipboard
macOS platform implementation of image_picker_plus
image_picker_plus_macos #
A macOS implementation of image_picker_plus.
Limitations #
ImageSource.camera is not supported unless a cameraDelegate is set.
pickImage() #
The arguments maxWidth, maxHeight, and imageQuality are not currently supported.
pickVideo() #
The argument maxDuration is not currently supported.
Usage #
Import the package #
Most apps should depend on image_picker_plus rather than this package
directly. This package is pulled in automatically when you use
image_picker_plus.
However, if you import this package to use any of its APIs directly, you
should add it to your pubspec.yaml as usual.
Entitlements #
This package is currently implemented using file_selector, so you will
need to add a read-only file acces entitlement:
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
Alternatives #
If you would prefer an implementation that uses the dedicated photo picker UI available in newer versions of macOS, which is more similar to the iOS experience, you may want to consider using an alternate, unendorsed implementation built by the community.