StreamUrlAttachment constructor

const StreamUrlAttachment({
  1. Key? key,
  2. required Message message,
  3. required Attachment urlAttachment,
  4. required String hostDisplayName,
  5. required StreamMessageThemeData messageTheme,
  6. ShapeBorder? shape,
  7. BoxConstraints constraints = const BoxConstraints(),
})

Displays a URL attachment in a StreamMessageWidget.

Implementation

const StreamUrlAttachment({
  super.key,
  required this.message,
  required this.urlAttachment,
  required this.hostDisplayName,
  required this.messageTheme,
  this.shape,
  this.constraints = const BoxConstraints(),
});