multi_image_picker_view
3.0.0, released 2 years ago by an unverified publisher
Flutter widget to pick, re-order, and remove multiple images in a grid view.
What it does
Provides a complete widget and controller to handle selecting multiple images from the device, displaying them in a customizable grid view, and supporting re-ordering via drag-and-drop. It delegates actual image picking to external packages like image_picker or file_picker.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a UI component for users to upload and manage multiple images (like a gallery or photo post screen).
- You want users to be able to drag and drop to re-order selected images.
Skip it when
- You only need a simple single-image picker without a management grid UI.
- You want an out-of-the-box native image selection implementation without writing custom picker callback logic.
Strengths
- Supports drag-and-drop re-ordering of selected images out of the box.
- Fully customizable UI for items, initial container, and add-more buttons.
- Flexible picker integration allowing any picker plugin like image_picker or file_picker.
Weaknesses
- Requires writing your own bridge/callback logic to connect an underlying image picker plugin.
- Lacks built-in image cropping or heavy editing capabilities.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the package and a separate image picking package like image_picker or file_picker to pubspec.yaml.
final controller = MultiImagePickerController(
picker: (int pickCount, Object? params) async {
final pickedImages = await pickImages(pickCount);
return pickedImages.map((e) => convertToImageFile(e)).toList();
}
);
MultiImagePickerView(
controller: controller,
padding: const EdgeInsets.all(10),
);Alternatives
Packages that do the same job and could replace multi_image_picker_view.
- image_picker
If you only need a standard native single or multi-image picker without a custom re-orderable grid interface.
94Compare
Works with
Packages commonly used together with multi_image_picker_view: ones it builds on, ones built on it, and its own family.