ConstOpen the gallery to pick one image.
The image as a PickedFile, or file: null if the user cancels.
Open the gallery to pick several images.
The images as PickedFile objects, in the order the user picked them. The array is empty if the user cancels.
Android only for now. Requires the image_picker plugin to be enabled in the app configuration.
<img src>.file is null for ImagePicker.pickImage
and files is empty for ImagePicker.pickImages.FileSaver.saveUrl if you need to keep it.
Image picker plugin for choosing images from the device gallery.