Skip to content
pubscout

image_picker_android

0.8.13+25, released 7 weeks ago by flutter.dev

Android implementation of the image_picker plugin for selecting photos and videos.

WASM-ready
$ flutter pub add image_picker_android
Source repository

What it does

Provides the Android side of the image_picker federated plugin. It uses the Android Photo Picker when possible and can resize images during decoding. It exposes APIs to enable the new photo‑picker features on older Android versions.

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

Use it when

  • You need to pick images or videos on Android devices
  • You want native resizing to avoid large memory usage
  • You rely on the Android Photo Picker for a consistent UI

Skip it when

  • Your app runs only on iOS or web
  • You prefer a single cross‑platform package without platform‑specific code
  • You need advanced editing or cropping features

Strengths

  • Uses the system Photo Picker for a native experience
  • Efficient subsampling of large images
  • Endorsed federated plugin, auto‑included with image_picker

Weaknesses

  • Android‑only, no iOS/web implementation
  • Advanced features require manual import and setup
  • Limited to the capabilities of the Android Photo Picker

Setup

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

Add image_picker to pubspec (this plugin is auto‑included). Ensure Android manifest has CAMERA and READ/WRITE_EXTERNAL_STORAGE permissions if needed. To enable the optional Photo Picker on API <=15, import the package and set ImagePickerAndroid.useAndroidPhotoPicker = true before calling image_picker APIs.

import 'package:image_picker_android/image_picker_android.dart';
import 'package:image_picker_platform_interface/image_picker_platform_interface.dart';

final impl = ImagePickerPlatform.instance;
if (impl is ImagePickerAndroid) {
  impl.useAndroidPhotoPicker = true;
}
// then use image_picker as usual

Alternatives

Packages that do the same job and could replace image_picker_android.

Works with

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