Skip to main content

chat_media_picker 0.2.2 copy "chat_media_picker: ^0.2.2" to clipboard
chat_media_picker: ^0.2.2 copied to clipboard

Chat attachment picker: draggable sheet with gallery, camera and file picker, plus an editor with crop, draw, text and captions.

0.2.2 #

  • Close button beside the drag handle of the attachment sheet (ChatMediaPickerConfig.showCloseButton, on by default). It fades out as the gallery expands, whose title bar has its own.
  • Crop ratio options no longer pick up the host app's chip theme (they could turn unreadable).
  • Video badge no longer overflows on small thumbnails (album covers).
  • Shorter README.

0.2.1 #

  • Shorter package description.

0.2.0 #

  • New attachment sheet. Gallery, Camera and Document options sit over the recent photos. Dragging up crossfades the options into the "Recents" header, expands to the full gallery and dims the screen behind it.
  • Camera tile as the first cell of the photo grid.
  • File picker ("Document" option). Files come back as PickedMedia with MediaKind.file, name and size. New formatFileSize helper.
  • ChatMediaPickerConfig.enableGallery, enableCamera, enableFilePicker, allowMultipleFiles and allowedFileExtensions.
  • ChatMediaPickerTheme (light default and .dark()), set through ChatMediaPickerConfig.theme.
  • Screenshots on pub.dev, captured by example/integration_test/screenshots_test.dart.
  • The example app now includes its android and ios folders.
  • Breaking: iOS 14.0 is now the minimum (required by file_picker).
  • Breaking: MediaKind has a new file value, so exhaustive switches over it need a new case.

0.1.0 #

  • Initial release: gallery bottom sheet (photos + videos), custom camera, editor with crop, rotate, flip, draw, text and captions.
2
likes
160
points
461
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Chat attachment picker: draggable sheet with gallery, camera and file picker, plus an editor with crop, draw, text and captions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

camera, file_picker, flutter, get, path_provider, photo_manager, video_player

More

Packages that depend on chat_media_picker