adaptive_image_picker 1.0.0
adaptive_image_picker: ^1.0.0 copied to clipboard
A production-grade, zero-permission adaptive image picker for Flutter with pure-Dart cropping, binary-search compression, and native PhotoPicker integration.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 #
- Initial release of
adaptive_image_picker. - Modern Android 13+ Photo Picker integration (
PickVisualMedia/PickMultipleVisualMedia) with zero runtime storage permissions. - iOS 14+
PHPickerViewControllerintegration for zero-permission photo library access. - Device camera capture with automated
FileProvidersetup on Android andUIImagePickerControlleron iOS. - Pure-Dart image cropping engine with preset aspect ratios, freeform cropping, 90° clockwise rotation, and horizontal/vertical flipping.
- Circular avatar crop masking with antialiased transparent alpha channel.
- Binary search target-size image compression engine guaranteeing file size $\le$
maxBytes. - WebP, JPEG, and PNG output format encoding.
- Adaptive UI bottom sheet and modal source selector (Cupertino on iOS, Material 3 on Android, Dialog on Web/Desktop).
- Full web support using
package:weband JS interop. - Rich
AdaptiveFilerepresentation with size formatting, lazy byte streaming, and disk persistence helpers. - Direct URL import and image downloading with integrated crop and compression pipeline.
- Comprehensive unit, widget, and integration test coverage.