chat_media_picker 0.2.2
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
PickedMediawithMediaKind.file,nameandsize. NewformatFileSizehelper. ChatMediaPickerConfig.enableGallery,enableCamera,enableFilePicker,allowMultipleFilesandallowedFileExtensions.ChatMediaPickerTheme(light default and.dark()), set throughChatMediaPickerConfig.theme.- Screenshots on pub.dev, captured by
example/integration_test/screenshots_test.dart. - The example app now includes its
androidandiosfolders. - Breaking: iOS 14.0 is now the minimum (required by
file_picker). - Breaking:
MediaKindhas a newfilevalue, so exhaustiveswitches 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.
