image_pickers
2.0.6, released 2 years ago by an unverified publisher
Select local pictures and videos, preview media, and save to albums
WASM-readyQuiet but busy
What it does
Supports local picture and video multi-selection, capturing photos or videos via camera, previewing media files, and saving network or local images and videos to device albums.
AI-written summary of version 2.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need multi-selection for both local images and videos.
- You need to save network images/videos or screenshots directly to the gallery.
Skip it when
- You need a cross-platform solution with robust web support (this is Android/iOS only).
- You are using older Android target SDK versions without upgrading to targetSdkVersion 34.
Strengths
- Supports multi-selection of both images and videos
- Built-in media preview and saving functions for network media and screenshots
Weaknesses
- Limited to Android and iOS platforms
- Requires specific Android target/compile SDK configurations for Android 13+
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires iOS Info.plist permissions (NSMicrophoneUsageDescription, NSCameraUsageDescription, etc.) and Android targetSdkVersion/compileSdkVersion 34.
Future<void> selectImages() async {
List<Media> _listImagePaths = await ImagePickers.pickerPaths(
galleryMode: GalleryMode.image,
selectCount: 2,
showGif: false,
showCamera: true,
compressSize: 500,
uiConfig: UIConfig(uiThemeColor: Color(0xffff0f50)),
cropConfig: CropConfig(enableCrop: false, width: 2, height: 1));
}Alternatives
Packages that do the same job and could replace image_pickers.
- image_picker
Official and more widely used package for picking images and videos from the gallery or taking them with the camera.
94Compare