Skip to content
pubscout

image_picker_macos

0.2.2+1, released a year ago by flutter.dev

macOS platform implementation of the image_picker plugin

WASM-readyQuiet but busy
$ flutter pub add image_picker_macos
Source repository

What it does

Provides macOS platform-specific implementation for picking images and videos using file selection. It works as an endorsed federated plugin for image_picker.

AI-written summary of version 0.2.2+1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter application for macOS that needs to pick images or videos.
  • You are using the main image_picker package and need macOS desktop support.

Skip it when

  • You need ImageSource.camera support without setting a custom cameraDelegate.
  • You require max width, max height, or image quality adjustments on macOS currently.

Strengths

  • Endorsed federated plugin that integrates automatically with image_picker.
  • Enables file picking for images and videos on macOS.

Weaknesses

  • Certain arguments like maxWidth, maxHeight, imageQuality, and maxDuration are not currently supported.
  • Requires manual addition of user-selected read-only entitlements in macOS.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
3

Add the read-only file access entitlement (com.apple.security.files.user-selected.read-only) to your macOS entitlements configuration.

// This package is endorsed and used automatically via image_picker.
// To use directly if needed:
import 'package:image_picker_macos/image_picker_macos();

Alternatives

Packages that do the same job and could replace image_picker_macos.

  • adaptive_media_picker

    Flutter package to pick images or videos with permissions, source sheet, cropping and validation on all platforms.

  • image

    Pure Dart library to load, manipulate, encode, and decode various image formats.

  • image_cropper

    A Flutter plugin for Android, iOS and Web supports cropping images

  • network_to_file_image

    Combines NetworkImage and FileImage to cache network images onto the local file system.

Works with

Packages commonly used together with image_picker_macos: ones it builds on, ones built on it, and its own family.