Skip to content
pubscout

adaptive_media_picker

2.0.0, released 4 weeks ago by an unverified publisher

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

WASM-ready
$ flutter pub add adaptive_media_picker
Source repository

What it does

Provides a single API that handles permission requests, lets the user choose camera or gallery, optionally crops the media, and validates size and MIME type. It works on Android, iOS, Web, macOS, Windows and Linux and returns typed results instead of throwing exceptions.

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

Use it when

  • You need a unified media picker with built‑in permission handling and cropping
  • You want validation of file size or type before upload
  • You target multiple platforms including Web and desktop

Skip it when

  • You only need a simple file picker and want minimal dependencies
  • You require a fully custom UI for the picker flow

Strengths

  • Cross‑platform support including Web and desktop
  • Built‑in permission dialogs and source sheet
  • Cropping available on every platform, including circle crop
  • File‑size and MIME‑type validation out of the box

Weaknesses

  • Adds several native dependencies (image_cropper, smart_permission, etc.)
  • Larger bundle size compared to using image_picker alone
  • Customization of the UI beyond provided options is limited

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
7

Add camera and photo library permissions to AndroidManifest and iOS Info.plist, configure image_cropper native libraries if needed, and follow the package's platform‑setup guide for Web/WASM.

final picker = AdaptiveMediaPicker();
final result = await picker.pickImage(context: context);
if (result.item != null) {
  final bytes = await result.item!.readAsBytes();
}

Alternatives

Packages that do the same job and could replace adaptive_media_picker.

Works with

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