StreamImageAttachment constructor
const
StreamImageAttachment({
- Key? key,
- required Message message,
- required Attachment image,
- ShapeBorder? shape,
- BoxConstraints constraints = const BoxConstraints(),
- Size imageThumbnailSize = const Size(400, 400),
- String imageThumbnailResizeType = 'clip',
- String imageThumbnailCropType = 'center',
Shows an image attachment in a StreamMessageWidget.
Implementation
const StreamImageAttachment({
super.key,
required this.message,
required this.image,
this.shape,
this.constraints = const BoxConstraints(),
this.imageThumbnailSize = const Size(400, 400),
this.imageThumbnailResizeType = 'clip',
this.imageThumbnailCropType = 'center',
});