Search code examples
androidflutterdartandroid-galleryimagepicker

Why is ImagePicker unable to pick multiple images


I'm trying to pick multiple images at once using the image_picker 0.7.5+3 package so my code is simple , just one line to open the gallery to select from it

final images = await ImagePicker.platform.pickMultiImage(); 

but it's showing this error

enter image description here

i tried running flutter clean and deleting the app from emulator and retarting everything but it's the same problem,

note : using final images = await ImagePicker().getImage(source: ImageSource.gallery); it allows me to choose an image without any problems


Solution

  • I can't find anything in their API reference for pickMultiImage. I don't think it exists, unfortunately. There's a package called images_picker, maybe that helps you.