StreamFileAttachment constructor
const
StreamFileAttachment({
- Key? key,
- required Message message,
- required Attachment file,
- Widget? title,
- Widget? trailing,
- ShapeBorder? shape,
- Color? backgroundColor,
- BoxConstraints constraints = const BoxConstraints(),
Displays file attachments that have been sent in a chat.
Used in MessageWidget
.
Implementation
const StreamFileAttachment({
super.key,
required this.message,
required this.file,
this.title,
this.trailing,
this.shape,
this.backgroundColor,
this.constraints = const BoxConstraints(),
});