# image_picker_macos 0.2.2+1

macOS platform implementation of image_picker




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'image_picker_macos:0.2.2+1'
```
Published: 2025-10-18T13:29:57.658213Z
Expected archive SHA-256: 86f0f15a309de7e1a552c12df9ce5b59fe927e71385329355aec4776c6a8ec91

Available in cache; verification: upstream_checksum
## Direct dependencies
- file_selector_macos: ^0.9.1+1
- file_selector_platform_interface: ^2.3.0
- flutter: map[sdk:flutter]
- image_picker_platform_interface: ^2.11.0

## Package README (untrusted upstream documentation)
# image\_picker\_macos

A macOS implementation of [`image_picker`][1].

## 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

This package is [endorsed][2], which means you can simply use `image_picker`
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.

### Entitlements

This package is currently implemented using [`file_selector`][3], so you will
need to add a read-only file acces [entitlement][4]:
```xml
    <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][5].

[1]: https://pub.dev/packages/image_picker
[2]: https://flutter.dev/to/endorsed-federated-plugin
[3]: https://pub.dev/packages/file_selector
[4]: https://flutter.dev/to/macos-entitlements
[5]: https://pub.dev/packages?q=topic%3Aimage-picker+platform%3Amacos

## Changelog
## 0.2.2+1

* Updates minimum supported version to macOS 10.15.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

## 0.2.2

* Adds support for `getMultiVideoWithOptions`.
* Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.

## 0.2.1+2

* Updates README to reference alternate implementations.
* Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.

## 0.2.1+1

* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

## 0.2.1

* Adds `getMedia` method.

## 0.2.0

* Implements initial macOS support.







 
