- Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Removes a few deprecated API usages.
- Updates minimum required plugin_platform_interface version to 2.1.7.
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Fixes new lint warnings.
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
- Formally deprecates all methods that have been replaced with newer variants.
- Adds
getMediamethod.
- Adds
CameraDelegatingImagePickerPlatformas a base class for platform implementations that don't supportImageSource.camera, but allow for an- implementation to be provided at the application level via implementation ofCameraDelegatingImagePickerPlatform. - Adds
supportsImageSourceto check source support at runtime.
- Adds compatibility with
http1.0. - Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
- Aligns Dart and Flutter SDK constraints.
- Updates links for the merge of flutter/plugins into flutter/packages.
- Updates minimum Flutter version to 3.0.
- Updates imports for
prefer_relative_imports. - Updates minimum Flutter version to 2.10.
- Fixes avoid_redundant_argument_values lint warnings and minor typos.
- Exports new types added for
getMultiImageWithOptionsin 2.6.0.
- Deprecates
getMultiImagein favor of a new methodgetMultiImageWithOptions.- Adds
requestFullMetadataoption that allows disabling extra permission requests on certain platforms. - Moves optional image picking parameters to
MultiImagePickerOptionsclass.
- Adds
- Deprecates
getImagein favor of a new methodgetImageFromSource.- Adds
requestFullMetadataoption that allows disabling extra permission requests on certain platforms. - Moves optional image picking parameters to
ImagePickerOptionsclass.
- Adds
- Minor fixes for new analysis options.
- Internal code cleanup for stricter analysis options.
- Removes dependency on
meta.
- Update to use the
verifymethod introduced in plugin_platform_interface 2.1.0.
- Reverts the changes from 2.4.0, which was a breaking change that was incorrectly marked as a non-breaking change.
- Add
forceFullMetadataoption topickImage.- To keep this non-breaking
forceFullMetadatadefaults totrue, so the plugin tries to get the full image metadata which may require extra permission requests on certain platforms. - If
forceFullMetadatais set tofalse, 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 theNSPhotoLibraryUsageDescriptionpermission).
- To keep this non-breaking
- Updated
LostDataResponseto include afilesproperty, in case more than one file was recovered.
- Added new methods that return
XFile(frompackage:cross_file)getImage(will deprecatepickImage)getVideo(will deprecatepickVideo)getMultiImage(will deprecatepickMultiImage)
PickedFile will also be marked as deprecated in an upcoming release.
- Add
pickMultiImagemethod.
- Update platform_plugin_interface version requirement.
- Migrate to null safety.
- Breaking Changes:
- Removed the deprecated methods:
ImagePickerPlatform.retrieveLostDataAsDartIoFile,ImagePickerPlatform.pickImagePathandImagePickerPlatform.pickVideoPath. - Removed deprecated class:
LostDataResponse.
- Removed the deprecated methods:
- Fix test asset file location.
- Update Flutter SDK constraint.
- Pass
Uris topackage:httpmethods, instead of strings, in preparation for a major version update inhttp.
- Update documentation of
pickImage()regarding HEIC images.
- Update documentation of
pickImage()regarding compression support for specific image types.
- Update documentation of getImage() about Android's disability to preference front/rear camera.
- Introduce PickedFile type for the new API.
- Update lower bound of dart dependency to 2.1.0.
- Initial release.