Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/image_picker/image_picker_macos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 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
Expand Down
12 changes: 11 additions & 1 deletion packages/image_picker/image_picker_macos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ A macOS implementation of [`image_picker`][1].
`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 `file_selector`
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`.

Expand All @@ -32,7 +34,15 @@ need to add a read-only file acces [entitlement][4]:
<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
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_macos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: image_picker_macos
description: macOS platform implementation of image_picker
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_macos
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 0.2.1+1
version: 0.2.1+2

environment:
sdk: ^3.4.0
Expand Down
Loading