fl_image_picker 4.0.0
fl_image_picker: ^4.0.0 copied to clipboard
A lightweight image_picker wrapper for picking images and videos, taking photos, recording videos and previewing media across platforms.
4.0.0 #
- Breaking change:
ImagePickerController.onRenovateis now a constructor field instead of a getter, subclasses should passsuper.onRenovate. - Update
image_pickerto1.2.4,mimeto2.1.0,universal_ioto2.3.1. - Align minimum SDK with dependencies: Dart
>=3.11.0, Flutter>=3.41.0. - Add
requestFullMetadatatoFlImagePickerOptionsconstructor. - Pass
preferredCameraDevicewhen recording videos. - Detect
AssetTypefromXFile.mimeType,XFile.nameand path. - Support
ImageProvider,blob:URLs and webXFileinbuildImageProvider. FlXFile.fromPreviewednow acceptsFile,XFileandUint8List.realValueStrnow also resolvesrenovatedvalues.- Expose
allowDeleteonMultipleImagePicker. PickerAction.toAssetType()is replaced by thePickerAction.assetTypefield.- Breaking change: remove
SingleImagePicker.size, usewidth/height. - Breaking change: remove
FlImagePicker.imageBuilder,checkPermissionandactionsBuilder; overrideImagePickerController.buildPreview,requestPermissionandbuildActionSheetinstead. - Fix controllers notifying listeners after being disposed and overlapping pick requests.
- Preserve
mimeType/nameinFlXFile.toRenovated, and returnnullfor emptyrealValueStr. - Recognize local file path strings in
FlImagePicker.buildImageProvider. - Add
onErrorto picker APIs and controllers for plugin/renovate failures. - Fix preview
PageControllerleak and out-of-range initial index. - Rebuild examples with Flutter 3.47 and new UI.
3.1.0 #
- Change the
ImagePickerOptionsto theFlImagePickerOptions - Relax dependency versions
2.1.0 #
- Update
mime
2.0.0 #
assetXXX->imageXXXAssetXXX->ImageXXX- Fix some issues
maxVideoCountdefaults to 0
1.0.1 #
- Modify the static method name of
FlImagePicker - Remove
pickerIconBuilderfromMultipleImagePicker,Please use thepickofitemConfig - Change the
PickerFromTypeItemto thePickerActionOptionss - Change the
PickerFromTypeto thePickerOptionalActions - Change the
fromTypesto theactions - Fix known issues
0.1.2 #
- Fixed an issue with
SingleImagePickernot showing - Error callback changed to enum
0.1.1 #
- Fix errors on the web
0.1.0 #
- initial release.