camera_gallery_photopicker 0.0.6
camera_gallery_photopicker: ^0.0.6 copied to clipboard
A simple Flutter package that allows easy image picking from the gallery or camera. It presents a bottom sheet UI for selecting the image source and returns the selected image to your app via a callba [...]
0.0.6 #
- Material 3 Design: Upgraded bottom sheet UI with top drag handle indicator, smooth tile styling, and automatic Theme-aware (light/dark mode) colors.
- Dart 3 Async Safety: Added
context.mountedchecks to safely handle navigator popping and preventuse_build_context_synchronouslyissues. - Customization Options:
- Added support for custom titles (
galleryTitle,cameraTitle,sheetTitle). - Added support for custom icons (
galleryIcon,cameraIcon). - Added customizable
backgroundColor,barrierColor,elevation,shape,useSafeArea,isDismissible,enableDrag. - Added image picker configuration parameters (
imageQuality,maxWidth,maxHeight,preferredCameraDevice). - Added optional
onXFilePickedcallback in addition toonImagePicked.
- Added support for custom titles (
- Package Fixes: Fixed top-level library exports in
lib/camera_gallery_photopicker.dart. - Tests & Docs: Updated
README.mdwith complete code examples and added widget tests.
0.0.5 #
- Initial release.