camera_gallery_photopicker 0.0.6 copy "camera_gallery_photopicker: ^0.0.6" to clipboard
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.mounted checks to safely handle navigator popping and prevent use_build_context_synchronously issues.
  • 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 onXFilePicked callback in addition to onImagePicked.
  • Package Fixes: Fixed top-level library exports in lib/camera_gallery_photopicker.dart.
  • Tests & Docs: Updated README.md with complete code examples and added widget tests.

0.0.5 #

  • Initial release.
2
likes
140
points
103
downloads

Documentation

API reference

Publisher

verified publishermahafujerrahman.xyz

Weekly Downloads

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 callback function. Compatible with Flutter 2.0+ and supports null safety.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, image_picker

More

Packages that depend on camera_gallery_photopicker