prefer_relative_imports
.getMultiImageWithOptions
in 2.6.0.getMultiImage
in favor of a new method getMultiImageWithOptions
.requestFullMetadata
option that allows disabling extra permission requests on certain platforms.MultiImagePickerOptions
class.getImage
in favor of a new method getImageFromSource
.requestFullMetadata
option that allows disabling extra permission requests on certain platforms.ImagePickerOptions
class.meta
.verify
method introduced in plugin_platform_interface 2.1.0.forceFullMetadata
option to pickImage
.forceFullMetadata
defaults to true
, so the plugin tries to get the full image metadata which may require extra permission requests on certain platforms.forceFullMetadata
is set to false
, the plugin fetches the image in a way that reduces permission requests from the platform (e.g on iOS the plugin won’t ask for the NSPhotoLibraryUsageDescription
permission).LostDataResponse
to include a files
property, in case more than one file was recovered.XFile
(from package:cross_file
)getImage
(will deprecate pickImage
)getVideo
(will deprecate pickVideo
)getMultiImage
(will deprecate pickMultiImage
)PickedFile
will also be marked as deprecated in an upcoming release.
pickMultiImage
method.ImagePickerPlatform.retrieveLostDataAsDartIoFile
,ImagePickerPlatform.pickImagePath
and ImagePickerPlatform.pickVideoPath
.LostDataResponse
.Uri
s to package:http
methods, instead of strings, in preparation for a major version update in http
.pickImage()
regarding HEIC images.pickImage()
regarding compression support for specific image types.